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

Unified Diff: chrome/browser/external_protocol_handler.cc

Issue 6905044: Refactor preference syncing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix syncing of platform specific prefs Created 9 years, 8 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/external_protocol_handler.cc
diff --git a/chrome/browser/external_protocol_handler.cc b/chrome/browser/external_protocol_handler.cc
index 24b59840a622a892455e091342ae53b7c48cc9b7..58d852c1c5bdd59193030db14dbc0c8d8481de3f 100644
--- a/chrome/browser/external_protocol_handler.cc
+++ b/chrome/browser/external_protocol_handler.cc
@@ -173,7 +173,8 @@ void ExternalProtocolHandler::LaunchUrlWithoutSecurityCheck(const GURL& url) {
// static
void ExternalProtocolHandler::RegisterPrefs(PrefService* prefs) {
- prefs->RegisterDictionaryPref(prefs::kExcludedSchemes);
+ prefs->RegisterDictionaryPref(prefs::kExcludedSchemes,
+ false /* don't sync pref */);
}
// static

Powered by Google App Engine
This is Rietveld 408576698