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

Unified Diff: chrome/browser/policy/profile_policy_connector.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/policy/profile_policy_connector.cc
diff --git a/chrome/browser/policy/profile_policy_connector.cc b/chrome/browser/policy/profile_policy_connector.cc
index 9b05203d076e7dc9523c97f25efed2658c486e4a..ea49e9df6cf353e60588f849c4738dc9c6726af3 100644
--- a/chrome/browser/policy/profile_policy_connector.cc
+++ b/chrome/browser/policy/profile_policy_connector.cc
@@ -43,9 +43,9 @@ std::string GetCloudPolicyManagementDomain(
const CloudPolicyManager* cloud_policy_manager) {
const CloudPolicyStore* const store = cloud_policy_manager->core()->store();
if (store) {
- CHECK(store->is_initialized())
- << "Cloud policy management domain must be "
- "requested only after the policy system is fully initialized";
+ // Cloud policy management domain must be requested only after the policy
+ // system is fully initialized
+ CHECK(store->is_initialized());
if (store->is_managed() && store->policy()->has_username())
return gaia::ExtractDomainName(store->policy()->username());
}

Powered by Google App Engine
This is Rietveld 408576698