diff options
author | ers@chromium.org <ers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-28 21:12:25 +0000 |
---|---|---|
committer | ers@chromium.org <ers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-28 21:12:25 +0000 |
commit | 6fbdcea0661e75df1c8a3e161cb83114c2284e8b (patch) | |
tree | ee177c7f63e37a0101b907c143635f1654593137 | |
parent | 981b992e4217ef77b46b9450c52c52e8747d73ac (diff) | |
download | chromium_src-6fbdcea0661e75df1c8a3e161cb83114c2284e8b.zip chromium_src-6fbdcea0661e75df1c8a3e161cb83114c2284e8b.tar.gz chromium_src-6fbdcea0661e75df1c8a3e161cb83114c2284e8b.tar.bz2 |
Submitting on behalf of jglasgow@chromium.org, original CL: http://codereview.chromium.org/6726043.
ChromeOS: Turn off OCSP while doing activation
Modify the proper set of preferences to turn off OCSP while doing
activation. This is important because in a restricted IP pool there
is no access to an OCSP server.
BUG=chromium-os:12946
TEST=BWSI ; modem factory-reset ; disconnect all networks ; disable WiFi ;
reboot ; BWSI ; Activate ; check chrome://net-internals ; validate no
requests to ocsp.verisign.com
TBR=
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79613 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc b/chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc index 0613b33..e84d54b 100644 --- a/chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc +++ b/chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc @@ -22,6 +22,7 @@ #include "base/utf_string_conversions.h" #include "base/values.h" #include "chrome/browser/browser_list.h" +#include "chrome/browser/browser_process.h" #include "chrome/browser/chromeos/cros/cros_library.h" #include "chrome/browser/chromeos/cros/network_library.h" #include "chrome/browser/chromeos/cros/system_library.h" @@ -1170,7 +1171,7 @@ void MobileSetupHandler::ReEnableOtherConnections() { lib->EnableWifiNetworkDevice(true); } - PrefService* prefs = web_ui_->GetProfile()->GetPrefs(); + PrefService* prefs = g_browser_process->local_state(); if (reenable_cert_check_) { prefs->SetBoolean(prefs::kCertRevocationCheckingEnabled, true); @@ -1185,7 +1186,7 @@ void MobileSetupHandler::SetupActivationProcess( // Disable SSL cert checks since we will be doing this in // restricted pool. - PrefService* prefs = web_ui_->GetProfile()->GetPrefs(); + PrefService* prefs = g_browser_process->local_state(); if (!reenable_cert_check_ && prefs->GetBoolean( prefs::kCertRevocationCheckingEnabled)) { |