OLD | NEW |
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_CLOUD_CLOUD_POLICY_STORE_H_ | 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_STORE_H_ |
6 #define CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_STORE_H_ | 6 #define CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_STORE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "base/observer_list.h" | 11 #include "base/observer_list.h" |
12 #include "chrome/browser/policy/cloud/cloud_policy_validator.h" | 12 #include "chrome/browser/policy/cloud/cloud_policy_validator.h" |
13 #include "chrome/browser/policy/policy_map.h" | |
14 #include "chrome/browser/policy/proto/cloud/device_management_backend.pb.h" | 13 #include "chrome/browser/policy/proto/cloud/device_management_backend.pb.h" |
| 14 #include "components/policy/core/common/policy_map.h" |
15 | 15 |
16 namespace policy { | 16 namespace policy { |
17 | 17 |
18 class CloudExternalDataManager; | 18 class CloudExternalDataManager; |
19 | 19 |
20 // Defines the low-level interface used by the cloud policy code to: | 20 // Defines the low-level interface used by the cloud policy code to: |
21 // 1. Validate policy blobs that should be applied locally | 21 // 1. Validate policy blobs that should be applied locally |
22 // 2. Persist policy blobs | 22 // 2. Persist policy blobs |
23 // 3. Decode policy blobs to PolicyMap representation | 23 // 3. Decode policy blobs to PolicyMap representation |
24 class CloudPolicyStore { | 24 class CloudPolicyStore { |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 bool is_initialized_; | 155 bool is_initialized_; |
156 | 156 |
157 ObserverList<Observer, true> observers_; | 157 ObserverList<Observer, true> observers_; |
158 | 158 |
159 DISALLOW_COPY_AND_ASSIGN(CloudPolicyStore); | 159 DISALLOW_COPY_AND_ASSIGN(CloudPolicyStore); |
160 }; | 160 }; |
161 | 161 |
162 } // namespace policy | 162 } // namespace policy |
163 | 163 |
164 #endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_STORE_H_ | 164 #endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_STORE_H_ |
OLD | NEW |