Index: chrome/common/service_process_util_mac.mm |
diff --git a/chrome/common/service_process_util_mac.mm b/chrome/common/service_process_util_mac.mm |
index 7923a1a987893e2da01fb63a0357160729cda64d..df2bc22fcbcde5d95079e6b645433795c2a6f7ec 100644 |
--- a/chrome/common/service_process_util_mac.mm |
+++ b/chrome/common/service_process_util_mac.mm |
@@ -120,7 +120,8 @@ bool ForceServiceProcessShutdown(const std::string& /* version */, |
CFErrorRef err = NULL; |
bool ret = Launchd::GetInstance()->RemoveJob(label, &err); |
if (!ret) { |
- LOG(ERROR) << "ForceServiceProcessShutdown: " << err; |
+ LOG(ERROR) << "ForceServiceProcessShutdown: " << err << " " |
+ << base::SysCFStringRefToUTF8(label); |
CFRelease(err); |
} |
return ret; |
@@ -177,9 +178,9 @@ bool ServiceProcessState::Initialize() { |
CFErrorRef err = NULL; |
CFDictionaryRef dict = |
Launchd::GetInstance()->CopyDictionaryByCheckingIn(&err); |
- |
if (!dict) { |
- LOG(ERROR) << "CopyLaunchdDictionaryByCheckingIn: " << err; |
+ LOG(ERROR) << "ServiceProcess must be launched by launchd. " |
+ << "CopyLaunchdDictionaryByCheckingIn: " << err; |
CFRelease(err); |
return false; |
} |