Commit 5cd96e24 authored by motek@chromium.org's avatar motek@chromium.org

Removing kCheckDefaultBrowser pref modification after the user choses a

different default browser.

This is a trivial change, but it will deal with both issues.
Asking for review & owner's review at the same time since this is only 2 lines.

R=sky
BUG=140065, 141181


Review URL: https://chromiumcodereview.appspot.com/10836271

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151857 0039d316-1c4b-4281-b951-d872f2087c98
parent 0f29630e
...@@ -44,9 +44,6 @@ void SetChromeAsDefaultBrowser(bool interactive_flow, PrefService* prefs) { ...@@ -44,9 +44,6 @@ void SetChromeAsDefaultBrowser(bool interactive_flow, PrefService* prefs) {
// it likely means the user simply selected another browser from the // it likely means the user simply selected another browser from the
// panel. We will respect this choice and write it down as 'no, thanks'. // panel. We will respect this choice and write it down as 'no, thanks'.
UMA_HISTOGRAM_COUNTS("DefaultBrowserWarning.DontSetAsDefault", 1); UMA_HISTOGRAM_COUNTS("DefaultBrowserWarning.DontSetAsDefault", 1);
// User clicked "Don't ask me again", remember that.
if (prefs)
prefs->SetBoolean(prefs::kCheckDefaultBrowser, false);
} }
} else { } else {
UMA_HISTOGRAM_COUNTS("DefaultBrowserWarning.SetAsDefault", 1); UMA_HISTOGRAM_COUNTS("DefaultBrowserWarning.SetAsDefault", 1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment