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

Unified Diff: chrome/service/service_process.cc

Issue 6349029: Get service processes working on Mac and Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix up small typo in comment Created 9 years, 11 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/service/service_main.cc ('k') | chrome/service/service_process_prefs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/service_process.cc
diff --git a/chrome/service/service_process.cc b/chrome/service/service_process.cc
index c521e3290a0f274eb8ef6676735bb166db05aa6d..4183faeeab7552ad3376ceecf24ed48eaab31e2a 100644
--- a/chrome/service/service_process.cc
+++ b/chrome/service/service_process.cc
@@ -141,8 +141,11 @@ bool ServiceProcess::Initialize(MessageLoop* message_loop,
// After the IPC server has started we signal that the service process is
// ready.
- ServiceProcessState::GetInstance()->SignalReady(
- NewRunnableMethod(this, &ServiceProcess::Shutdown));
+ if (!ServiceProcessState::GetInstance()->SignalReady(
+ io_thread_->message_loop(),
+ NewRunnableMethod(this, &ServiceProcess::Shutdown))) {
+ return false;
+ }
// See if we need to stay running.
ScheduleShutdownCheck();
« no previous file with comments | « chrome/service/service_main.cc ('k') | chrome/service/service_process_prefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698