Move CommandLine to base namespace.
Fix all forward-declares and header files referencing CommandLine.
This keeps a "using base::CommandLine" in the command line header file so that the rest of the source files can be changes in a follow-up.
TBR=sky
Review URL: https://codereview.chromium.org/196413016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257514 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/diagnostics/diagnostics_controller.h b/chrome/browser/diagnostics/diagnostics_controller.h
index f5d3d22..7e7ee17b 100644
--- a/chrome/browser/diagnostics/diagnostics_controller.h
+++ b/chrome/browser/diagnostics/diagnostics_controller.h
@@ -8,7 +8,9 @@
#include "base/memory/scoped_ptr.h"
#include "base/memory/singleton.h"
+namespace base {
class CommandLine;
+}
namespace diagnostics {
@@ -21,11 +23,12 @@
// Entry point for the diagnostics mode. Returns zero if able to run
// diagnostics successfully, regardless of the results of the diagnostics.
- int Run(const CommandLine& command_line, DiagnosticsWriter* writer);
+ int Run(const base::CommandLine& command_line, DiagnosticsWriter* writer);
// Entry point for running recovery based on diagnostics that have already
// been run. In order for this to do anything, Run() must be executed first.
- int RunRecovery(const CommandLine& command_line, DiagnosticsWriter* writer);
+ int RunRecovery(const base::CommandLine& command_line,
+ DiagnosticsWriter* writer);
// Returns a model with the results that have accumulated. They can then be
// queried for their attributes for human consumption later.