diff options
author | dmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-03 20:29:28 +0000 |
---|---|---|
committer | dmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-03 20:29:28 +0000 |
commit | 92e81f2d93d8b7c6a29ebe53eeac172a11c744db (patch) | |
tree | cb30e427f0a88fce2afa8838e90990f4eb5bf9dc /chrome/common/service_process_util.h | |
parent | 7b398483f56fcbe4a84dc3eee6f80d1ec96c925a (diff) | |
download | chromium_src-92e81f2d93d8b7c6a29ebe53eeac172a11c744db.zip chromium_src-92e81f2d93d8b7c6a29ebe53eeac172a11c744db.tar.gz chromium_src-92e81f2d93d8b7c6a29ebe53eeac172a11c744db.tar.bz2 |
Make changes sanjeev suggested
BUG=NONE
TEST=BUILD
Review URL: http://codereview.chromium.org/6286082
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73656 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/service_process_util.h')
-rw-r--r-- | chrome/common/service_process_util.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/chrome/common/service_process_util.h b/chrome/common/service_process_util.h index c3ad259..175499d 100644 --- a/chrome/common/service_process_util.h +++ b/chrome/common/service_process_util.h @@ -12,7 +12,10 @@ #include "base/shared_memory.h" class Task; -class MessageLoop; + +namespace base { + class MessageLoopProxy; +} template <typename T> struct DefaultSingletonTraits; @@ -64,9 +67,10 @@ class ServiceProcessState { // This method is called when the service process is running and initialized. // |shutdown_task| is invoked when we get a shutdown request from another // process (in the same thread that called SignalReady). It can be NULL. - // |message_loop| must be of type IO and is the loop that POSIX uses + // |message_loop_proxy| must be of type IO and is the loop that POSIX uses // to monitor the service process. - bool SignalReady(MessageLoop *message_loop, Task* shutdown_task); + bool SignalReady( + base::MessageLoopProxy* message_loop_proxy, Task* shutdown_task); // Signal that the service process is stopped. void SignalStopped(); |