Index: chrome/browser/ui/webui/options/browser_options_handler.cc |
diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc |
index def5b1f84f983a5e6f6214ec171efc993915c014..8380a89a8fcefd9ecaa682230a78deaffef2eac9 100644 |
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc |
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc |
@@ -1149,6 +1149,10 @@ void BrowserOptionsHandler::SetDefaultWebClientUIState( |
if (state == ShellIntegration::STATE_IS_DEFAULT) { |
status_string_id = IDS_OPTIONS_DEFAULTBROWSER_DEFAULT; |
+ // Notify the user in the future if Chrome ceases to be the user's chosen |
+ // default browser. |
+ PrefService* prefs = Profile::FromWebUI(web_ui())->GetPrefs(); |
+ prefs->SetBoolean(prefs::kCheckDefaultBrowser, true); |
} else if (state == ShellIntegration::STATE_NOT_DEFAULT) { |
if (ShellIntegration::CanSetAsDefaultBrowser() == |
ShellIntegration::SET_DEFAULT_NOT_ALLOWED) { |