summaryrefslogtreecommitdiffstats
path: root/chrome/browser/first_run.cc
diff options
context:
space:
mode:
authorkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-17 16:51:10 +0000
committerkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-17 16:51:10 +0000
commit8c14a436fe6488c8f647ff79301102e885838c77 (patch)
tree892832adcf466be0b9515ab2b84553a94afb5814 /chrome/browser/first_run.cc
parenteffb25df8e23ffc027fefe0b271a47e16f7a6240 (diff)
downloadchromium_src-8c14a436fe6488c8f647ff79301102e885838c77.zip
chromium_src-8c14a436fe6488c8f647ff79301102e885838c77.tar.gz
chromium_src-8c14a436fe6488c8f647ff79301102e885838c77.tar.bz2
Exit Chrome and show FRUI again on the next run, if user clicks on Cancel.
BUG=10825 Review URL: http://codereview.chromium.org/118528 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18624 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/first_run.cc')
-rw-r--r--chrome/browser/first_run.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/first_run.cc b/chrome/browser/first_run.cc
index f0b0f74..7f8538f 100644
--- a/chrome/browser/first_run.cc
+++ b/chrome/browser/first_run.cc
@@ -59,7 +59,7 @@ bool GetFirstRunSentinelFilePath(FilePath* path) {
#if !defined(OS_MACOSX)
bool FirstRun::IsChromeFirstRun() {
// A troolean, 0 means not yet set, 1 means set to true, 2 set to false.
- static int first_run = 0;
+ int first_run = 0;
if (first_run != 0)
return first_run == 1;