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

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

Issue 8258018: Generate Chrome policy definition list from policy_templates.json. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/policy_map.h
diff --git a/chrome/browser/policy/policy_map.h b/chrome/browser/policy/policy_map.h
index 765d0fa99920ab892e23964b7fd85dd92d2b201d..60c76604c41f43e6a8422be5aca983a7170102ef 100644
--- a/chrome/browser/policy/policy_map.h
+++ b/chrome/browser/policy/policy_map.h
@@ -8,11 +8,12 @@
#include <map>
#include "base/values.h"
-#include "chrome/browser/policy/configuration_policy_provider.h"
#include "policy/configuration_policy_type.h"
namespace policy {
+class PolicyDefinitionList;
Mattias Nissler (ping if slow) 2011/10/13 14:14:34 should be struct?
Joao da Silva 2011/10/13 14:40:43 The clang bots are of the same opinion :-) Done.
+
// Wrapper class around a std::map<ConfigurationPolicyType, Value*> that
// properly cleans up after itself when going out of scope.
// Exposes interesting methods of the underlying std::map.
@@ -41,7 +42,7 @@ class PolicyMap {
// corresponding policy type. The policies to load, and their types, are
// listed in |list|.
void LoadFrom(const DictionaryValue* policies,
- const ConfigurationPolicyProvider::PolicyDefinitionList* list);
+ const PolicyDefinitionList* list);
bool Equals(const PolicyMap& other) const;
bool empty() const;

Powered by Google App Engine
This is Rietveld 408576698