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-21 01:52:28 +0000
committermattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-21 01:52:28 +0000
commita2c2bfdd83030cd9063926f899c28db419ff35ae (patch)
treea4abbe8336a527fed558d46df9e892205e557e4b /chrome/browser/process_singleton_mac.cc
parent9192f2d845e97aff731e11e84f7fbc79b2c5e50b (diff)
downloadchromium_src-a2c2bfdd83030cd9063926f899c28db419ff35ae.zip
chromium_src-a2c2bfdd83030cd9063926f899c28db419ff35ae.tar.gz
chromium_src-a2c2bfdd83030cd9063926f899c28db419ff35ae.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@47875 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;