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

Unified Diff: chrome/browser/custom_handlers/protocol_handler_registry.cc

Issue 8198007: Remove PrefService::ScheduleSavePersistentPrefs and SavePersistentPrefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 9 years, 2 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/custom_handlers/protocol_handler_registry.cc
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry.cc b/chrome/browser/custom_handlers/protocol_handler_registry.cc
index 55f3fe58dac66c498473d992ba6c0e42d7b9d655..21dca0fe2ab756584a734b62f52ecb4c1ba1d855 100644
--- a/chrome/browser/custom_handlers/protocol_handler_registry.cc
+++ b/chrome/browser/custom_handlers/protocol_handler_registry.cc
@@ -254,7 +254,6 @@ void ProtocolHandlerRegistry::Save() {
profile_->GetPrefs()->Set(prefs::kIgnoredProtocolHandlers,
*ignored_protocol_handlers);
profile_->GetPrefs()->Set(prefs::kCustomHandlersEnabled, *enabled);
- profile_->GetPrefs()->ScheduleSavePersistentPrefs();
}
bool ProtocolHandlerRegistry::CanSchemeBeOverridden(

Powered by Google App Engine
This is Rietveld 408576698