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 /cloud_print/service | |
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 'cloud_print/service')
-rw-r--r-- | cloud_print/service/win/chrome_launcher.h | 2 | ||||
-rw-r--r-- | cloud_print/service/win/service_controller.h | 2 | ||||
-rw-r--r-- | cloud_print/service/win/service_utils.h | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/cloud_print/service/win/chrome_launcher.h b/cloud_print/service/win/chrome_launcher.h index 57c92e6..723bb77 100644 --- a/cloud_print/service/win/chrome_launcher.h +++ b/cloud_print/service/win/chrome_launcher.h @@ -13,8 +13,6 @@ #include "base/memory/scoped_ptr.h" #include "base/threading/simple_thread.h" -class CommandLine; - class ChromeLauncher : public base::DelegateSimpleThread::Delegate { public: explicit ChromeLauncher(const base::FilePath& user_data); diff --git a/cloud_print/service/win/service_controller.h b/cloud_print/service/win/service_controller.h index 3b1781e..6868fbd 100644 --- a/cloud_print/service/win/service_controller.h +++ b/cloud_print/service/win/service_controller.h @@ -69,7 +69,7 @@ class ServiceController { State state_; base::string16 user_; bool is_logging_enabled_; - CommandLine command_line_; + base::CommandLine command_line_; }; #endif // CLOUD_PRINT_SERVICE_SERVICE_CONTROLLER_H_ diff --git a/cloud_print/service/win/service_utils.h b/cloud_print/service/win/service_utils.h index d4faa8e..a509772 100644 --- a/cloud_print/service/win/service_utils.h +++ b/cloud_print/service/win/service_utils.h @@ -5,13 +5,15 @@ #ifndef CLOUD_PRINT_SERVICE_SERVICE_UTILS_H_ #define CLOUD_PRINT_SERVICE_SERVICE_UTILS_H_ -class CommandLine; - #include "base/strings/string16.h" +namespace base { +class CommandLine; +} + base::string16 ReplaceLocalHostInName(const base::string16& user_name); base::string16 GetCurrentUserName(); -void CopyChromeSwitchesFromCurrentProcess(CommandLine* destination); +void CopyChromeSwitchesFromCurrentProcess(base::CommandLine* destination); #endif // CLOUD_PRINT_SERVICE_SERVICE_UTILS_H_ |