summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/ssl_config_service_manager_pref_unittest.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-17 12:37:57 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-17 12:37:57 +0000
commitb8f50cec7ae39a4776b0b424fe5489f84192010a (patch)
treee0ae2436ffb6bbbd124085fb6ac542f38d6651c4 /chrome/browser/net/ssl_config_service_manager_pref_unittest.cc
parent63b054d3f3947d1e396821afb348ea0437fd0ec3 (diff)
downloadchromium_src-b8f50cec7ae39a4776b0b424fe5489f84192010a.zip
chromium_src-b8f50cec7ae39a4776b0b424fe5489f84192010a.tar.gz
chromium_src-b8f50cec7ae39a4776b0b424fe5489f84192010a.tar.bz2
chrome/browser: Update calls from RunAllPending() to RunUntilIdle().
RunAllPending() is deprecated and we should switch to RunUntilIdle(). BUG=131220 TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/11413050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168416 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/net/ssl_config_service_manager_pref_unittest.cc')
-rw-r--r--chrome/browser/net/ssl_config_service_manager_pref_unittest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/net/ssl_config_service_manager_pref_unittest.cc b/chrome/browser/net/ssl_config_service_manager_pref_unittest.cc
index b4d7080..ef9b0be 100644
--- a/chrome/browser/net/ssl_config_service_manager_pref_unittest.cc
+++ b/chrome/browser/net/ssl_config_service_manager_pref_unittest.cc
@@ -47,7 +47,7 @@ class SSLConfigServiceManagerPrefTest : public testing::Test {
bool IsChannelIdEnabled(SSLConfigService* config_service) {
// Pump the message loop to notify the SSLConfigServiceManagerPref that the
// preferences changed.
- message_loop_.RunAllPending();
+ message_loop_.RunUntilIdle();
SSLConfig config;
config_service->GetSSLConfig(&config);
return config.channel_id_enabled;
@@ -79,7 +79,7 @@ TEST_F(SSLConfigServiceManagerPrefTest, ChannelIDWithoutUserPrefs) {
Value::CreateBooleanValue(true));
// Pump the message loop to notify the SSLConfigServiceManagerPref that the
// preferences changed.
- message_loop_.RunAllPending();
+ message_loop_.RunUntilIdle();
config_service->GetSSLConfig(&config);
EXPECT_TRUE(config.channel_id_enabled);
}
@@ -170,7 +170,7 @@ TEST_F(SSLConfigServiceManagerPrefTest, GoodDisabledCipherSuites) {
// Pump the message loop to notify the SSLConfigServiceManagerPref that the
// preferences changed.
- message_loop_.RunAllPending();
+ message_loop_.RunUntilIdle();
SSLConfig config;
config_service->GetSSLConfig(&config);
@@ -207,7 +207,7 @@ TEST_F(SSLConfigServiceManagerPrefTest, BadDisabledCipherSuites) {
// Pump the message loop to notify the SSLConfigServiceManagerPref that the
// preferences changed.
- message_loop_.RunAllPending();
+ message_loop_.RunUntilIdle();
SSLConfig config;
config_service->GetSSLConfig(&config);