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

Side by Side Diff: chrome/browser/policy/policy_map.h

Issue 10917266: Rename "chrome/browser/policy/policy_constants.h" so that it doesn't clash with the generated "poli… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/policy/policy_constants.h ('k') | chrome/browser/policy/policy_types.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_POLICY_POLICY_MAP_H_ 5 #ifndef CHROME_BROWSER_POLICY_POLICY_MAP_H_
6 #define CHROME_BROWSER_POLICY_POLICY_MAP_H_ 6 #define CHROME_BROWSER_POLICY_POLICY_MAP_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 11
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "chrome/browser/policy/policy_constants.h" 13 #include "chrome/browser/policy/policy_types.h"
14 14
15 namespace policy { 15 namespace policy {
16 16
17 // A mapping of policy names to policy values for a given policy namespace. 17 // A mapping of policy names to policy values for a given policy namespace.
18 class PolicyMap { 18 class PolicyMap {
19 public: 19 public:
20 // Each policy maps to an Entry which keeps the policy value as well as other 20 // Each policy maps to an Entry which keeps the policy value as well as other
21 // relevant data about the policy. 21 // relevant data about the policy.
22 struct Entry { 22 struct Entry {
23 PolicyLevel level; 23 PolicyLevel level;
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 const PolicyMapType::value_type& b); 107 const PolicyMapType::value_type& b);
108 108
109 PolicyMapType map_; 109 PolicyMapType map_;
110 110
111 DISALLOW_COPY_AND_ASSIGN(PolicyMap); 111 DISALLOW_COPY_AND_ASSIGN(PolicyMap);
112 }; 112 };
113 113
114 } // namespace policy 114 } // namespace policy
115 115
116 #endif // CHROME_BROWSER_POLICY_POLICY_MAP_H_ 116 #endif // CHROME_BROWSER_POLICY_POLICY_MAP_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/policy_constants.h ('k') | chrome/browser/policy/policy_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698