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

Unified Diff: chrome/browser/first_run/first_run.cc

Issue 10453041: Support for interactive set-chrome-as-default in Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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
Index: chrome/browser/first_run/first_run.cc
diff --git a/chrome/browser/first_run/first_run.cc b/chrome/browser/first_run/first_run.cc
index f831c6b469b1c0405899bbe407af86ae07c60c8a..57e72aeedbb6295681f58702c34d03bbc5292c69 100644
--- a/chrome/browser/first_run/first_run.cc
+++ b/chrome/browser/first_run/first_run.cc
@@ -375,8 +375,11 @@ void AutoImportPlatformCommon(
ShowFirstRunDialog(profile);
}
- if (make_chrome_default)
+ if (make_chrome_default &&
+ ShellIntegration::CHANGE_DEFAULT_UNATTENDED ==
grt (UTC plus 2) 2012/05/25 20:27:38 flip these
motek. 2012/05/28 17:40:33 Done.
+ ShellIntegration::CanSetAsDefaultBrowser()) {
ShellIntegration::SetAsDefaultBrowser();
+ }
// Display the first run bubble if there is a default search provider.
TemplateURLService* template_url =

Powered by Google App Engine
This is Rietveld 408576698