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

Unified Diff: chrome/common/service_process_util.h

Issue 1167163002: chrome: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added some missing message_loop.h includes. Created 5 years, 6 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 | « chrome/common/profiling.cc ('k') | chrome/common/service_process_util_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/service_process_util.h
diff --git a/chrome/common/service_process_util.h b/chrome/common/service_process_util.h
index 90676239cbf16f23fb48e44f3ce49f9293a9822e..7783e76e342df55651a4e749f7357d4cdadaea46 100644
--- a/chrome/common/service_process_util.h
+++ b/chrome/common/service_process_util.h
@@ -26,7 +26,7 @@ class NSString;
namespace base {
class CommandLine;
-class MessageLoopProxy;
+class SingleThreadTaskRunner;
}
// Return the IPC channel to connect to the service process.
@@ -88,11 +88,10 @@ class ServiceProcessState {
// This method is called when the service process is running and initialized.
// |terminate_task| is invoked when we get a terminate request from another
// process (in the same thread that called SignalReady). It can be NULL.
- // |message_loop_proxy| must be of type IO and is the loop that POSIX uses
+ // |task_runner| must be of type IO and is the loop that POSIX uses
// to monitor the service process.
- bool SignalReady(
- base::MessageLoopProxy* message_loop_proxy,
- const base::Closure& terminate_task);
+ bool SignalReady(base::SingleThreadTaskRunner* task_runner,
+ const base::Closure& terminate_task);
// Signal that the service process is stopped.
void SignalStopped();
« no previous file with comments | « chrome/common/profiling.cc ('k') | chrome/common/service_process_util_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698