summaryrefslogtreecommitdiffstats
path: root/chrome/browser/service_process/service_process_control.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-17 23:07:15 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-17 23:07:15 +0000
commit2f3b1cce4c8d4d6a4b016f4d03fca5ee88348a2c (patch)
tree78766377b2779fe9b9afbc869a97f387b9b3d082 /chrome/browser/service_process/service_process_control.h
parent936e85963a6d11c79c7ea774bc41c8729c04693f (diff)
downloadchromium_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/service_process/service_process_control.h')
-rw-r--r--chrome/browser/service_process/service_process_control.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/service_process/service_process_control.h b/chrome/browser/service_process/service_process_control.h
index 2e33145..eedd4a3 100644
--- a/chrome/browser/service_process/service_process_control.h
+++ b/chrome/browser/service_process/service_process_control.h
@@ -23,7 +23,9 @@
#include "ipc/ipc_listener.h"
#include "ipc/ipc_sender.h"
+namespace base {
class CommandLine;
+}
namespace cloud_print {
struct CloudPrintProxyInfo;
@@ -132,7 +134,7 @@ class ServiceProcessControl : public IPC::Sender,
class Launcher
: public base::RefCountedThreadSafe<ServiceProcessControl::Launcher> {
public:
- Launcher(ServiceProcessControl* process, CommandLine* cmd_line);
+ Launcher(ServiceProcessControl* process, base::CommandLine* cmd_line);
// Execute the command line to start the process asynchronously. After the
// command is executed |task| is called with the process handle on the UI
// thread.
@@ -152,7 +154,7 @@ class ServiceProcessControl : public IPC::Sender,
void Notify();
void CloseProcessHandle();
ServiceProcessControl* process_;
- scoped_ptr<CommandLine> cmd_line_;
+ scoped_ptr<base::CommandLine> cmd_line_;
base::Closure notify_task_;
bool launched_;
uint32 retry_count_;