summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_main.cc
diff options
context:
space:
mode:
authorcpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-19 01:48:30 +0000
committercpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-19 01:48:30 +0000
commit42d7510ca7ff39e85e1d12be939cf0b213058bd3 (patch)
treeba85ee01ab7a4aabb10b4c7f347090640d9651f4 /chrome/browser/browser_main.cc
parent37379597458234af9a3f11a878339d8565300dec (diff)
downloadchromium_src-42d7510ca7ff39e85e1d12be939cf0b213058bd3.zip
chromium_src-42d7510ca7ff39e85e1d12be939cf0b213058bd3.tar.gz
chromium_src-42d7510ca7ff39e85e1d12be939cf0b213058bd3.tar.bz2
Reset the dr key if the toast experiment is cancelled.
TEST= run the toast experiment and cancel it. Then look at the dr key on HKEY_CURRENT_USER\Software\Google\Update\ClientState\{8A69D345-D564-463C-AFF1-A69D9E530F96} should be "0" BUG=30799 Review URL: http://codereview.chromium.org/502077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35028 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_main.cc')
-rw-r--r--chrome/browser/browser_main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc
index 6ca2b4b..ff1d17d 100644
--- a/chrome/browser/browser_main.cc
+++ b/chrome/browser/browser_main.cc
@@ -520,7 +520,7 @@ int BrowserMain(const MainFunctionParams& parameters) {
Upgrade::TryResult answer =
Upgrade::ShowTryChromeDialog(StringToInt(try_chrome));
if (answer == Upgrade::TD_NOT_NOW)
- return ResultCodes::NORMAL_EXIT_EXP1;
+ return ResultCodes::NORMAL_EXIT_CANCEL;
if (answer == Upgrade::TD_UNINSTALL_CHROME)
return ResultCodes::NORMAL_EXIT_EXP2;
}