From 6601392d6b688a8f01e5f9ba8250af921757343f Mon Sep 17 00:00:00 2001 From: "amruthraj@motorola.com" Date: Tue, 13 Sep 2011 18:53:42 +0000 Subject: Clean the SingletonLock only if there is no previous Chromium process running. BUG=96134 TEST=Launch three Chrome processes to see that the third one doesn't crash. Patch by amruthraj@motorola.com Review URL: http://codereview.chromium.org/7796030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100943 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/chrome_browser_main.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chrome/browser/chrome_browser_main.h') diff --git a/chrome/browser/chrome_browser_main.h b/chrome/browser/chrome_browser_main.h index 74ed9ec..dba86af 100644 --- a/chrome/browser/chrome_browser_main.h +++ b/chrome/browser/chrome_browser_main.h @@ -11,6 +11,7 @@ #include "base/metrics/field_trial.h" #include "base/tracked_objects.h" #include "chrome/browser/first_run/first_run.h" +#include "chrome/browser/process_singleton.h" #include "content/browser/browser_main.h" class BrowserProcessImpl; @@ -18,7 +19,6 @@ class FieldTrialSynchronizer; class HistogramSynchronizer; class MetricsService; class PrefService; -class ProcessSingleton; class Profile; class ShutdownWatcherHelper; class TranslateManager; @@ -117,6 +117,7 @@ class ChromeBrowserMainParts : public content::BrowserMainParts { TranslateManager* translate_manager_; Profile* profile_; bool run_message_loop_; + ProcessSingleton::NotifyResult notify_result_; // Initialized in SetupMetricsAndFieldTrials. scoped_refptr field_trial_synchronizer_; -- cgit v1.1