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

Unified Diff: chrome/browser/ui/startup/default_browser_prompt.cc

Issue 10836271: Removing kCheckDefaultBrowser pref modification after the user choses a (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/ui/startup/default_browser_prompt.cc
diff --git a/chrome/browser/ui/startup/default_browser_prompt.cc b/chrome/browser/ui/startup/default_browser_prompt.cc
index 22b3341cc70b2b33f0c9d66dbfc5502e02353684..6fe251856324b4e1ad2476e3e3ed6bb9c1f2c767 100644
--- a/chrome/browser/ui/startup/default_browser_prompt.cc
+++ b/chrome/browser/ui/startup/default_browser_prompt.cc
@@ -44,9 +44,6 @@ void SetChromeAsDefaultBrowser(bool interactive_flow, PrefService* prefs) {
// it likely means the user simply selected another browser from the
// panel. We will respect this choice and write it down as 'no, thanks'.
UMA_HISTOGRAM_COUNTS("DefaultBrowserWarning.DontSetAsDefault", 1);
- // User clicked "Don't ask me again", remember that.
sky 2012/08/15 21:09:28 Is the pref needed anymore?
motek. 2012/08/15 21:19:36 Yes. It is set and read in the same file, upon 'ca
- if (prefs)
- prefs->SetBoolean(prefs::kCheckDefaultBrowser, false);
}
} else {
UMA_HISTOGRAM_COUNTS("DefaultBrowserWarning.SetAsDefault", 1);
« 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