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

Unified Diff: chrome/browser/chromeos/mobile/mobile_activator.cc

Issue 1320533007: Componentize ssl_config_service_manager_pref.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolve -Wnewline-eof mac_chromium bot failure Created 5 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
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/io_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/mobile/mobile_activator.cc
diff --git a/chrome/browser/chromeos/mobile/mobile_activator.cc b/chrome/browser/chromeos/mobile/mobile_activator.cc
index 79789217da94a994ad5c6190b20143061ddc7883..f16a245a54a0616c256e7f8a60c35f227998ee6e 100644
--- a/chrome/browser/chromeos/mobile/mobile_activator.cc
+++ b/chrome/browser/chromeos/mobile/mobile_activator.cc
@@ -34,6 +34,7 @@
#include "chromeos/network/network_handler_callbacks.h"
#include "chromeos/network/network_state.h"
#include "chromeos/network/network_state_handler.h"
+#include "components/ssl_config/ssl_config_prefs.h"
#include "content/public/browser/browser_thread.h"
#include "third_party/cros_system_api/dbus/service_constants.h"
#include "ui/chromeos/network/network_connect.h"
@@ -1096,8 +1097,7 @@ void MobileActivator::ReEnableCertRevocationChecking() {
if (!prefs)
return;
if (reenable_cert_check_) {
- prefs->SetBoolean(prefs::kCertRevocationCheckingEnabled,
- true);
+ prefs->SetBoolean(ssl_config::prefs::kCertRevocationCheckingEnabled, true);
reenable_cert_check_ = false;
}
}
@@ -1108,10 +1108,9 @@ void MobileActivator::DisableCertRevocationChecking() {
// TODO(rkc): We want to do this only if on Cellular.
PrefService* prefs = g_browser_process->local_state();
if (!reenable_cert_check_ &&
- prefs->GetBoolean(
- prefs::kCertRevocationCheckingEnabled)) {
+ prefs->GetBoolean(ssl_config::prefs::kCertRevocationCheckingEnabled)) {
reenable_cert_check_ = true;
- prefs->SetBoolean(prefs::kCertRevocationCheckingEnabled, false);
+ prefs->SetBoolean(ssl_config::prefs::kCertRevocationCheckingEnabled, false);
}
}
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/io_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698