| Index: chrome/browser/service/service_process_control.h
|
| diff --git a/chrome/browser/service/service_process_control.h b/chrome/browser/service/service_process_control.h
|
| index df04acb76ffe587cf6996c5dc552b2bdfc73a926..483d78cfa9139fd6b108fb0b560090dd763659af 100644
|
| --- a/chrome/browser/service/service_process_control.h
|
| +++ b/chrome/browser/service/service_process_control.h
|
| @@ -101,10 +101,10 @@ class ServiceProcessControl : public IPC::Channel::Sender,
|
| : public base::RefCountedThreadSafe<ServiceProcessControl::Launcher> {
|
| public:
|
| Launcher(ServiceProcessControl* process, CommandLine* cmd_line);
|
| - // Execute the command line to start the process asynchronously.
|
| - // After the comamnd is executed |task| is called with the process handle on
|
| - // the UI thread.
|
| - void Run(Task* task);
|
| + // 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.
|
| + void Run(const base::Closure& task);
|
|
|
| bool launched() const { return launched_; }
|
|
|
| @@ -120,7 +120,7 @@ class ServiceProcessControl : public IPC::Channel::Sender,
|
| void Notify();
|
| ServiceProcessControl* process_;
|
| scoped_ptr<CommandLine> cmd_line_;
|
| - scoped_ptr<Task> notify_task_;
|
| + base::Closure notify_task_;
|
| bool launched_;
|
| uint32 retry_count_;
|
| };
|
|
|