diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-21 05:56:17 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-21 05:56:17 +0000 |
commit | 7bc0e693b24a626518f9b0b5eeead31499718ef7 (patch) | |
tree | cb5b69ba4f095fe9bbc2fbfd58a83d1ae56d60fe /chrome/browser/process_singleton_win.cc | |
parent | a30ae61f402a6bdcbb4894620ee1981d7564e9a4 (diff) | |
download | chromium_src-7bc0e693b24a626518f9b0b5eeead31499718ef7.zip chromium_src-7bc0e693b24a626518f9b0b5eeead31499718ef7.tar.gz chromium_src-7bc0e693b24a626518f9b0b5eeead31499718ef7.tar.bz2 |
Revert 47875 - 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
TBR=mattm@chromium.org
Review URL: http://codereview.chromium.org/2125015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47893 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/process_singleton_win.cc')
-rw-r--r-- | chrome/browser/process_singleton_win.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/chrome/browser/process_singleton_win.cc b/chrome/browser/process_singleton_win.cc index 6454f66..09dec13 100644 --- a/chrome/browser/process_singleton_win.cc +++ b/chrome/browser/process_singleton_win.cc @@ -156,13 +156,6 @@ ProcessSingleton::NotifyResult ProcessSingleton::NotifyOtherProcess() { return PROCESS_NONE; } -ProcessSingleton::NotifyResult ProcessSingleton::NotifyOtherProcessOrCreate() { - NotifyResult result = NotifyOtherProcess(); - if (result != PROCESS_NONE) - return result; - return Create() ? PROCESS_NONE : PROFILE_IN_USE; -} - // For windows, there is no need to call Create() since the call is made in // the constructor but to avoid having more platform specific code in // browser_main.cc we tolerate a second call which will do nothing. |