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

Unified Diff: chrome/browser/policy/configuration_policy_handler.cc

Issue 11469026: Extending ONC validator's logging. Completing toplevel validation. (Closed) Base URL: http://git.chromium.org/chromium/src.git@add_error_handling_to_validator
Patch Set: Rebased. Created 8 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/configuration_policy_handler.cc
diff --git a/chrome/browser/policy/configuration_policy_handler.cc b/chrome/browser/policy/configuration_policy_handler.cc
index 21647627ef48ad8a9aa0565e2428cfd3d8da1d0f..68536d35a2dc70493c22d5eb4cd0afa9e9d97852 100644
--- a/chrome/browser/policy/configuration_policy_handler.cc
+++ b/chrome/browser/policy/configuration_policy_handler.cc
@@ -123,7 +123,7 @@ std::string ValueTypeToString(Value::Type type) {
"dictionary",
"list"
};
- DCHECK(static_cast<size_t>(type) < arraysize(strings));
+ CHECK(static_cast<size_t>(type) < arraysize(strings));
return std::string(strings[type]);
}

Powered by Google App Engine
This is Rietveld 408576698