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

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

Issue 50613003: Move the PolicyDomain and PolicyNamespace types to the policy component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
« no previous file with comments | « chrome/browser/policy/policy_bundle.cc ('k') | chrome/browser/policy/policy_service.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 CHROME_BROWSER_POLICY_POLICY_DOMAIN_DESCRIPTOR_H_ 5 #ifndef CHROME_BROWSER_POLICY_POLICY_DOMAIN_DESCRIPTOR_H_
6 #define CHROME_BROWSER_POLICY_POLICY_DOMAIN_DESCRIPTOR_H_ 6 #define CHROME_BROWSER_POLICY_POLICY_DOMAIN_DESCRIPTOR_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "chrome/browser/policy/policy_service.h" 14 #include "components/policy/core/common/policy_namespace.h"
15 #include "components/policy/core/common/schema.h" 15 #include "components/policy/core/common/schema.h"
16 16
17 namespace policy { 17 namespace policy {
18 18
19 class PolicyBundle; 19 class PolicyBundle;
20 20
21 // For each policy domain, this class keeps the complete list of valid 21 // For each policy domain, this class keeps the complete list of valid
22 // components for that domain, and the Schema for each component. 22 // components for that domain, and the Schema for each component.
23 class PolicyDomainDescriptor 23 class PolicyDomainDescriptor
24 : public base::RefCountedThreadSafe<PolicyDomainDescriptor> { 24 : public base::RefCountedThreadSafe<PolicyDomainDescriptor> {
(...skipping 25 matching lines...) Expand all
50 PolicyDomain domain_; 50 PolicyDomain domain_;
51 SchemaOwnerMap schema_owner_map_; 51 SchemaOwnerMap schema_owner_map_;
52 SchemaMap schema_map_; 52 SchemaMap schema_map_;
53 53
54 DISALLOW_COPY_AND_ASSIGN(PolicyDomainDescriptor); 54 DISALLOW_COPY_AND_ASSIGN(PolicyDomainDescriptor);
55 }; 55 };
56 56
57 } // namespace policy 57 } // namespace policy
58 58
59 #endif // CHROME_BROWSER_POLICY_POLICY_DOMAIN_DESCRIPTOR_H_ 59 #endif // CHROME_BROWSER_POLICY_POLICY_DOMAIN_DESCRIPTOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/policy_bundle.cc ('k') | chrome/browser/policy/policy_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698