Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(427)

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 10826108: Inactive user toast. Set chrome as default. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main.cc
===================================================================
--- chrome/browser/chrome_browser_main.cc (revision 149057)
+++ chrome/browser/chrome_browser_main.cc (working copy)
@@ -1363,6 +1363,9 @@
return chrome::RESULT_CODE_NORMAL_EXIT_CANCEL;
if (answer == TryChromeDialogView::UNINSTALL_CHROME)
return chrome::RESULT_CODE_NORMAL_EXIT_EXP2;
+ // At this point the user is willing to try chrome again.
+ if (answer == TryChromeDialogView::TRY_CHROME_AS_DEFAULT)
+ ShellIntegration::SetAsDefaultBrowser();
grt (UTC plus 2) 2012/08/02 08:41:10 if you want the Greg dialog to appear on Win8, thi
cpu_(ooo_6.6-7.5) 2012/08/02 23:25:20 Good to know. No, I don't want the win8 case. I w
#else
// We don't support retention experiments on Mac or Linux.
return content::RESULT_CODE_NORMAL_EXIT;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698