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

Unified Diff: chrome/browser/net/ssl_config_service_manager_pref.cc

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments. Created 8 years 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/net/ssl_config_service_manager_pref.cc
diff --git a/chrome/browser/net/ssl_config_service_manager_pref.cc b/chrome/browser/net/ssl_config_service_manager_pref.cc
index ff86906fc3d65ca57433c62ed37f5b8370a0b138..07be26b074181c8ef61d2a3cec6ef4f758de55a0 100644
--- a/chrome/browser/net/ssl_config_service_manager_pref.cc
+++ b/chrome/browser/net/ssl_config_service_manager_pref.cc
@@ -149,7 +149,7 @@ class SSLConfigServiceManagerPref
virtual ~SSLConfigServiceManagerPref() {}
// Register local_state SSL preferences.
- static void RegisterPrefs(PrefService* local_state);
+ static void RegisterPrefs(PrefServiceSimple* local_state);
virtual net::SSLConfigService* Get();
@@ -245,7 +245,8 @@ SSLConfigServiceManagerPref::SSLConfigServiceManagerPref(
}
// static
-void SSLConfigServiceManagerPref::RegisterPrefs(PrefService* local_state) {
+void SSLConfigServiceManagerPref::RegisterPrefs(
+ PrefServiceSimple* local_state) {
net::SSLConfig default_config;
local_state->RegisterBooleanPref(prefs::kCertRevocationCheckingEnabled,
default_config.rev_checking_enabled);
@@ -352,6 +353,6 @@ SSLConfigServiceManager* SSLConfigServiceManager::CreateDefaultManager(
}
// static
-void SSLConfigServiceManager::RegisterPrefs(PrefService* prefs) {
+void SSLConfigServiceManager::RegisterPrefs(PrefServiceSimple* prefs) {
SSLConfigServiceManagerPref::RegisterPrefs(prefs);
}

Powered by Google App Engine
This is Rietveld 408576698