Index: chrome/browser/chromeos/proxy_config_service_impl_unittest.cc |
diff --git a/chrome/browser/chromeos/proxy_config_service_impl_unittest.cc b/chrome/browser/chromeos/proxy_config_service_impl_unittest.cc |
index 060f00baad920420f3d25206caeb37683dbf9b8c..b4cf433cf4a96ac2a3e524697f0c6f9607264128 100644 |
--- a/chrome/browser/chromeos/proxy_config_service_impl_unittest.cc |
+++ b/chrome/browser/chromeos/proxy_config_service_impl_unittest.cc |
@@ -242,6 +242,8 @@ class ProxyConfigServiceImplTest : public testing::Test { |
ShillServiceClient::TestInterface* service_test = |
DBusThreadManager::Get()->GetShillServiceClient()->GetTestInterface(); |
+ // Process any pending notifications before clearing services. |
+ loop_.RunUntilIdle(); |
service_test->ClearServices(); |
// Sends a notification about the added profile. |