Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1363)

Unified Diff: chrome/browser/service/service_process_control.h

Issue 8403023: base::Bind: Finish conversion in ServiceProcessControl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Save space. Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/service/service_process_control.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
};
« no previous file with comments | « no previous file | chrome/browser/service/service_process_control.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698