| 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 |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 std::vector<RefreshPolicyCallback> refresh_callbacks_; | 120 std::vector<RefreshPolicyCallback> refresh_callbacks_; |
| 121 | 121 |
| 122 UnregisterCallback unregister_callback_; | 122 UnregisterCallback unregister_callback_; |
| 123 | 123 |
| 124 // Set to true once the service is initialized (initial policy load/refresh | 124 // Set to true once the service is initialized (initial policy load/refresh |
| 125 // is complete). | 125 // is complete). |
| 126 bool initialization_complete_; | 126 bool initialization_complete_; |
| 127 | 127 |
| 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 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 |