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 (don't reject policies by onc::Validator). 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 d4c22bf3d7854ec7b3e022c4ca56afd78287527b..01b58d993111f692cd630bff64391f14a0e1ae50 100644
--- a/chrome/browser/policy/configuration_policy_handler.cc
+++ b/chrome/browser/policy/configuration_policy_handler.cc
@@ -121,7 +121,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