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.
diff --git a/chrome/browser/diagnostics/diagnostics_model.h b/chrome/browser/diagnostics/diagnostics_model.h
index 1727aaa..334c284 100644
--- a/chrome/browser/diagnostics/diagnostics_model.h
+++ b/chrome/browser/diagnostics/diagnostics_model.h
@@ -8,7 +8,9 @@
 #include <string>
 #include "base/time/time.h"
 
+namespace base {
 class CommandLine;
+}
 
 namespace diagnostics {
 
@@ -100,7 +102,7 @@
 
 // The factory for the model. The main purpose is to hide the creation of
 // different models for different platforms.
-DiagnosticsModel* MakeDiagnosticsModel(const CommandLine& cmdline);
+DiagnosticsModel* MakeDiagnosticsModel(const base::CommandLine& cmdline);
 
 }  // namespace diagnostics