Index: chrome/browser/sync/test/integration/wifi_credentials_helper_chromeos.cc |
diff --git a/chrome/browser/sync/test/integration/wifi_credentials_helper_chromeos.cc b/chrome/browser/sync/test/integration/wifi_credentials_helper_chromeos.cc |
index 7117f198d8d1f7aeacf97aea03ba428de64db72c..6f7e3a6a28c9bb064ba996b4975099bc7b70dca6 100644 |
--- a/chrome/browser/sync/test/integration/wifi_credentials_helper_chromeos.cc |
+++ b/chrome/browser/sync/test/integration/wifi_credentials_helper_chromeos.cc |
@@ -106,14 +106,12 @@ void AddWifiCredentialToProfileChromeOs( |
credential.ToOncProperties(); |
CHECK(onc_properties) << "Failed to generate ONC properties for " |
<< credential.ToString(); |
- GetManagedNetworkConfigurationHandler() |
- ->CreateConfiguration( |
- ChromeOsUserHashForBrowserContext(*browser_context), |
- *onc_properties, |
- ::chromeos::network_handler::StringResultCallback(), |
- base::Bind(LogCreateConfigurationFailure, |
- base::StringPrintf("Failed to add credential %s", |
- credential.ToString().c_str()))); |
+ GetManagedNetworkConfigurationHandler()->CreateConfiguration( |
+ ChromeOsUserHashForBrowserContext(*browser_context), *onc_properties, |
+ ::chromeos::network_handler::ServiceResultCallback(), |
+ base::Bind(LogCreateConfigurationFailure, |
+ base::StringPrintf("Failed to add credential %s", |
+ credential.ToString().c_str()))); |
base::MessageLoop::current()->RunUntilIdle(); |
} |