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); |
} |
} |