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

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

Issue 11741003: Remove PrefServiceSimple, replacing it with PrefService and PrefRegistrySimple. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 7 years, 11 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/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 07be26b074181c8ef61d2a3cec6ef4f758de55a0..286882864c83cc65409497ac59e94f9350f77808 100644
--- a/chrome/browser/net/ssl_config_service_manager_pref.cc
+++ b/chrome/browser/net/ssl_config_service_manager_pref.cc
@@ -12,6 +12,7 @@
#include "base/prefs/public/pref_change_registrar.h"
#include "base/prefs/public/pref_member.h"
#include "chrome/browser/content_settings/content_settings_utils.h"
+#include "chrome/browser/prefs/pref_registry_simple.h"
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/content_settings.h"
@@ -149,7 +150,7 @@ class SSLConfigServiceManagerPref
virtual ~SSLConfigServiceManagerPref() {}
// Register local_state SSL preferences.
- static void RegisterPrefs(PrefServiceSimple* local_state);
+ static void RegisterPrefs(PrefRegistrySimple* local_state);
virtual net::SSLConfigService* Get();
@@ -246,7 +247,7 @@ SSLConfigServiceManagerPref::SSLConfigServiceManagerPref(
// static
void SSLConfigServiceManagerPref::RegisterPrefs(
- PrefServiceSimple* local_state) {
+ PrefRegistrySimple* local_state) {
net::SSLConfig default_config;
local_state->RegisterBooleanPref(prefs::kCertRevocationCheckingEnabled,
default_config.rev_checking_enabled);
@@ -353,6 +354,6 @@ SSLConfigServiceManager* SSLConfigServiceManager::CreateDefaultManager(
}
// static
-void SSLConfigServiceManager::RegisterPrefs(PrefServiceSimple* prefs) {
+void SSLConfigServiceManager::RegisterPrefs(PrefRegistrySimple* prefs) {
SSLConfigServiceManagerPref::RegisterPrefs(prefs);
}

Powered by Google App Engine
This is Rietveld 408576698