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

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: 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
« no previous file with comments | « chrome/browser/policy/mock_configuration_policy_provider.cc ('k') | chrome/browser/policy/policy_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..02ee1630fe83776907bc950c98d41a070eb95703 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 {
+struct PolicyDefinitionList;
+
// 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;
« no previous file with comments | « chrome/browser/policy/mock_configuration_policy_provider.cc ('k') | chrome/browser/policy/policy_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698