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

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

Issue 8480003: Surface error messages from ONC parsing in about:policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments, break out code gen / unit test changes. Created 9 years, 1 month 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.h
diff --git a/chrome/browser/policy/configuration_policy_handler.h b/chrome/browser/policy/configuration_policy_handler.h
index 375b8f9d6e7ef146273e3e111dd94bd0ad64eb2d..d45c9d904b96efb56a55da65be05d0f93fc91303 100644
--- a/chrome/browser/policy/configuration_policy_handler.h
+++ b/chrome/browser/policy/configuration_policy_handler.h
@@ -60,6 +60,11 @@ class TypeCheckingPolicyHandler : public ConfigurationPolicyHandler {
protected:
virtual ~TypeCheckingPolicyHandler();
+ // Runs policy checks and returns the policy value if successful.
+ bool CheckAndGetValue(const PolicyMap& policies,
+ PolicyErrorMap* errors,
+ const Value** value);
+
ConfigurationPolicyType policy_type() const;
private:

Powered by Google App Engine
This is Rietveld 408576698