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 COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_SERVICE_H_ | 5 #ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_SERVICE_H_ |
6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_SERVICE_H_ | 6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_SERVICE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | |
12 #include "base/callback_forward.h" | 11 #include "base/callback_forward.h" |
13 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/macros.h" |
14 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
15 #include "components/policy/core/common/cloud/cloud_policy_client.h" | 15 #include "components/policy/core/common/cloud/cloud_policy_client.h" |
16 #include "components/policy/core/common/cloud/cloud_policy_store.h" | 16 #include "components/policy/core/common/cloud/cloud_policy_store.h" |
17 #include "components/policy/policy_export.h" | 17 #include "components/policy/policy_export.h" |
18 | 18 |
19 namespace policy { | 19 namespace policy { |
20 | 20 |
21 // Coordinates cloud policy handling, moving downloaded policy from the client | 21 // Coordinates cloud policy handling, moving downloaded policy from the client |
22 // to the store, and setting up client registrations from cached data in the | 22 // to the store, and setting up client registrations from cached data in the |
23 // store. Also coordinates actions on policy refresh triggers. | 23 // store. Also coordinates actions on policy refresh triggers. |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 // Observers who will receive notifications when the service has finished | 128 // Observers who will receive notifications when the service has finished |
129 // initializing. | 129 // initializing. |
130 base::ObserverList<Observer, true> observers_; | 130 base::ObserverList<Observer, true> observers_; |
131 | 131 |
132 DISALLOW_COPY_AND_ASSIGN(CloudPolicyService); | 132 DISALLOW_COPY_AND_ASSIGN(CloudPolicyService); |
133 }; | 133 }; |
134 | 134 |
135 } // namespace policy | 135 } // namespace policy |
136 | 136 |
137 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_SERVICE_H_ | 137 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_SERVICE_H_ |
OLD | NEW |