summaryrefslogtreecommitdiffstats
path: root/chrome/browser/process_singleton_mac.cc
diff options
context:
space:
mode:
authormattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-28 22:22:44 +0000
committermattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-28 22:22:44 +0000
commit4a44bc32d152f0583bb196339c2568351573e304 (patch)
treefc2513a618e59b3b620fd1f001acbce24e87611b /chrome/browser/process_singleton_mac.cc
parentc8b59f972e2c4b6fa92dab4101e9ccf0a15c20b4 (diff)
downloadchromium_src-4a44bc32d152f0583bb196339c2568351573e304.zip
chromium_src-4a44bc32d152f0583bb196339c2568351573e304.tar.gz
chromium_src-4a44bc32d152f0583bb196339c2568351573e304.tar.bz2
ProcessSingleton(all): create the lock immediately after failing to connect to an existing process.
ProcessSingletonLinux: if creating the lock fails, try to notify again. BUG=44417 TEST=manual Review URL: http://codereview.chromium.org/2066014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48533 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/process_singleton_mac.cc')
-rw-r--r--chrome/browser/process_singleton_mac.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/process_singleton_mac.cc b/chrome/browser/process_singleton_mac.cc
index 50148a9..23d317c 100644
--- a/chrome/browser/process_singleton_mac.cc
+++ b/chrome/browser/process_singleton_mac.cc
@@ -32,6 +32,11 @@ ProcessSingleton::NotifyResult ProcessSingleton::NotifyOtherProcess() {
return PROCESS_NONE;
}
+ProcessSingleton::NotifyResult ProcessSingleton::NotifyOtherProcessOrCreate() {
+ // This space intentionally left blank.
+ return PROCESS_NONE;
+}
+
bool ProcessSingleton::Create() {
// This space intentionally left blank.
return true;