summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-25 23:44:34 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-25 23:44:34 +0000
commit2fb46f5562289e88312ff4b0c1419648510e3940 (patch)
tree80f44fc565db7dbce591f298d812ee5e797f8d46 /chrome
parent49d512dfa6d1dae33a4df23a508aa27129dfe7f6 (diff)
downloadchromium_src-2fb46f5562289e88312ff4b0c1419648510e3940.zip
chromium_src-2fb46f5562289e88312ff4b0c1419648510e3940.tar.gz
chromium_src-2fb46f5562289e88312ff4b0c1419648510e3940.tar.bz2
linux: ifdef out Upgrade class to verify we're not using it
This works because I removed all usage of it in a previous change. BUG=9295 Review URL: http://codereview.chromium.org/248009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27293 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/first_run.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/first_run.h b/chrome/browser/first_run.h
index c9471e8..5b9d252 100644
--- a/chrome/browser/first_run.h
+++ b/chrome/browser/first_run.h
@@ -93,6 +93,10 @@ class FirstRun {
DISALLOW_IMPLICIT_CONSTRUCTORS(FirstRun);
};
+#if !defined(OS_LINUX) || defined(TOOLKIT_VIEWS)
+// TODO(port): remove on Mac and Linux+views as well.
+// http://code.google.com/p/chromium/issues/detail?id=9295
+
// This class contains the actions that need to be performed when an upgrade
// is required. This involves mainly swapping the chrome exe and relaunching
// the new browser.
@@ -129,6 +133,7 @@ class Upgrade {
// |version| can be 0, 1 or 2 and selects what strings to present.
static TryResult ShowTryChromeDialog(size_t version);
};
+#endif
// A subclass of BrowserProcessImpl that does not have a GoogleURLTracker
// so we don't fetch as we have no IO thread (see bug #1292702).