diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-17 23:07:15 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-17 23:07:15 +0000 |
commit | 2f3b1cce4c8d4d6a4b016f4d03fca5ee88348a2c (patch) | |
tree | 78766377b2779fe9b9afbc869a97f387b9b3d082 /chrome/browser/diagnostics/diagnostics_controller.h | |
parent | 936e85963a6d11c79c7ea774bc41c8729c04693f (diff) | |
download | chromium_src-2f3b1cce4c8d4d6a4b016f4d03fca5ee88348a2c.zip chromium_src-2f3b1cce4c8d4d6a4b016f4d03fca5ee88348a2c.tar.gz chromium_src-2f3b1cce4c8d4d6a4b016f4d03fca5ee88348a2c.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/diagnostics/diagnostics_controller.h')
-rw-r--r-- | chrome/browser/diagnostics/diagnostics_controller.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/diagnostics/diagnostics_controller.h b/chrome/browser/diagnostics/diagnostics_controller.h index f5d3d22..7e7ee17 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 @@ class DiagnosticsController { // 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. |