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

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

Issue 8258018: Generate Chrome policy definition list from policy_templates.json. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix the unittest fix Created 9 years, 2 months 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_provider.h
diff --git a/chrome/browser/policy/configuration_policy_provider.h b/chrome/browser/policy/configuration_policy_provider.h
index 4ad5c1a57822f96bdcd46b6f7e0b9831f62e92d8..3eb0a7d2ef47bf61abd893dfd071ae879304d010 100644
--- a/chrome/browser/policy/configuration_policy_provider.h
+++ b/chrome/browser/policy/configuration_policy_provider.h
@@ -17,6 +17,7 @@
namespace policy {
+struct PolicyDefinitionList;
class PolicyMap;
// A mostly-abstract super class for platform-specific policy providers.
@@ -31,19 +32,6 @@ class ConfigurationPolicyProvider {
virtual void OnProviderGoingAway() = 0;
};
- // Used for static arrays of policy values that is used to initialize an
- // instance of the ConfigurationPolicyProvider.
- struct PolicyDefinitionList {
- struct Entry {
- ConfigurationPolicyType policy_type;
- base::Value::Type value_type;
- const char* name;
- };
-
- const Entry* begin;
- const Entry* end;
- };
-
explicit ConfigurationPolicyProvider(const PolicyDefinitionList* policy_list);
virtual ~ConfigurationPolicyProvider();

Powered by Google App Engine
This is Rietveld 408576698