Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(645)

Unified Diff: chrome/browser/sync/test/integration/wifi_credentials_helper_chromeos.cc

Issue 2561963002: base: Remove the string logging from CHECK(). (Closed)
Patch Set: checkstring: rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 705ae8493a161370ef1c29428e8afe1107c44a12..e31184fc77bc4a4c7b53810b50cb38c0568685e7 100644
--- a/chrome/browser/sync/test/integration/wifi_credentials_helper_chromeos.cc
+++ b/chrome/browser/sync/test/integration/wifi_credentials_helper_chromeos.cc
@@ -104,8 +104,8 @@ void AddWifiCredentialToProfileChromeOs(
DCHECK(browser_context);
std::unique_ptr<base::DictionaryValue> onc_properties =
credential.ToOncProperties();
- CHECK(onc_properties) << "Failed to generate ONC properties for "
- << credential.ToString();
+ // Failed to generate ONC properties for |credential.ToString()|
+ CHECK(onc_properties);
GetManagedNetworkConfigurationHandler()->CreateConfiguration(
ChromeOsUserHashForBrowserContext(*browser_context), *onc_properties,
::chromeos::network_handler::ServiceResultCallback(),

Powered by Google App Engine
This is Rietveld 408576698