diff options
Diffstat (limited to 'chrome/browser/first_run_win.cc')
-rw-r--r-- | chrome/browser/first_run_win.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/first_run_win.cc b/chrome/browser/first_run_win.cc index 3d2c86a..5a3078f 100644 --- a/chrome/browser/first_run_win.cc +++ b/chrome/browser/first_run_win.cc @@ -936,6 +936,11 @@ class TryChromeDialog : public views::ButtonListener, } // namespace Upgrade::TryResult Upgrade::ShowTryChromeDialog(size_t version) { + if (version > 10000) { + // This is a test value. We want to make sure we exercise + // returning this early. See EarlyReturnTest test harness. + return Upgrade::TD_NOT_NOW; + } TryChromeDialog td; return td.ShowModal(); } |