summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_process.h
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-30 01:23:32 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-30 01:23:32 +0000
commit1979689363e58c9917d751d5134287d8616528e5 (patch)
tree6342d081e86670f1a05b07933888278d6e355759 /chrome/browser/browser_process.h
parent27d3571b99a7e69bedb8ac0282b981325906edc2 (diff)
downloadchromium_src-1979689363e58c9917d751d5134287d8616528e5.zip
chromium_src-1979689363e58c9917d751d5134287d8616528e5.tar.gz
chromium_src-1979689363e58c9917d751d5134287d8616528e5.tar.bz2
Revert r46023: "Detect new instance of the browser when running in the background in persistent"
Broke the build. Review URL: http://codereview.chromium.org/1718024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46025 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_process.h')
-rw-r--r--chrome/browser/browser_process.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/browser_process.h b/chrome/browser/browser_process.h
index 91614b6..e6f6eb3 100644
--- a/chrome/browser/browser_process.h
+++ b/chrome/browser/browser_process.h
@@ -139,7 +139,8 @@ class BrowserProcess {
// disk.
virtual void CheckForInspectorFiles() = 0;
-#if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
+#if defined(OS_WIN)
+
// This will start a timer that, if Chrome is in persistent mode, will check
// whether an update is available, and if that's the case, restart the
// browser. Note that restart code will strip some of the command line keys
@@ -148,7 +149,8 @@ class BrowserProcess {
// background mode. For the full list of "blacklisted" keys, refer to
// |kSwitchesToRemoveOnAutorestart| array in browser_process_impl.cc.
virtual void StartAutoupdateTimer() = 0;
-#endif
+
+#endif // OS_WIN
// Return true iff we found the inspector files on disk. It's possible to
// call this function before we have a definite answer from the disk. In that