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

Side by Side Diff: components/policy/core/common/policy_namespace.h

Issue 68933002: Added SchemaMap::GetChanges(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/policy/schema_map_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 COMPONENTS_POLICY_CORE_COMMON_POLICY_NAMESPACE_H_ 5 #ifndef COMPONENTS_POLICY_CORE_COMMON_POLICY_NAMESPACE_H_
6 #define COMPONENTS_POLICY_CORE_COMMON_POLICY_NAMESPACE_H_ 6 #define COMPONENTS_POLICY_CORE_COMMON_POLICY_NAMESPACE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector>
9 10
10 #include "components/policy/policy_export.h" 11 #include "components/policy/policy_export.h"
11 12
12 namespace policy { 13 namespace policy {
13 14
14 // Policies are namespaced by a (PolicyDomain, ID) pair. The meaning of the ID 15 // Policies are namespaced by a (PolicyDomain, ID) pair. The meaning of the ID
15 // string depends on the domain; for example, if the PolicyDomain is 16 // string depends on the domain; for example, if the PolicyDomain is
16 // "extensions" then the ID identifies the extension that the policies control. 17 // "extensions" then the ID identifies the extension that the policies control.
17 enum POLICY_EXPORT PolicyDomain { 18 enum POLICY_EXPORT PolicyDomain {
18 // The component ID for chrome policies is always the empty string. 19 // The component ID for chrome policies is always the empty string.
(...skipping 18 matching lines...) Expand all
37 38
38 PolicyNamespace& operator=(const PolicyNamespace& other); 39 PolicyNamespace& operator=(const PolicyNamespace& other);
39 bool operator<(const PolicyNamespace& other) const; 40 bool operator<(const PolicyNamespace& other) const;
40 bool operator==(const PolicyNamespace& other) const; 41 bool operator==(const PolicyNamespace& other) const;
41 bool operator!=(const PolicyNamespace& other) const; 42 bool operator!=(const PolicyNamespace& other) const;
42 43
43 PolicyDomain domain; 44 PolicyDomain domain;
44 std::string component_id; 45 std::string component_id;
45 }; 46 };
46 47
48 typedef std::vector<PolicyNamespace> PolicyNamespaceList;
49
47 } // namespace policy 50 } // namespace policy
48 51
49 #endif // COMPONENTS_POLICY_CORE_COMMON_POLICY_NAMESPACE_H_ 52 #endif // COMPONENTS_POLICY_CORE_COMMON_POLICY_NAMESPACE_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/schema_map_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698