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_CORE_H_ | 5 #ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CORE_H_ |
6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CORE_H_ | 6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CORE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
14 #include "base/prefs/pref_member.h" | |
15 #include "components/policy/policy_export.h" | 14 #include "components/policy/policy_export.h" |
| 15 #include "components/prefs/pref_member.h" |
16 | 16 |
17 class PrefService; | 17 class PrefService; |
18 | 18 |
19 namespace base { | 19 namespace base { |
20 class SequencedTaskRunner; | 20 class SequencedTaskRunner; |
21 } | 21 } |
22 | 22 |
23 namespace policy { | 23 namespace policy { |
24 | 24 |
25 class CloudPolicyClient; | 25 class CloudPolicyClient; |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 scoped_ptr<RemoteCommandsService> remote_commands_service_; | 129 scoped_ptr<RemoteCommandsService> remote_commands_service_; |
130 scoped_ptr<IntegerPrefMember> refresh_delay_; | 130 scoped_ptr<IntegerPrefMember> refresh_delay_; |
131 base::ObserverList<Observer, true> observers_; | 131 base::ObserverList<Observer, true> observers_; |
132 | 132 |
133 DISALLOW_COPY_AND_ASSIGN(CloudPolicyCore); | 133 DISALLOW_COPY_AND_ASSIGN(CloudPolicyCore); |
134 }; | 134 }; |
135 | 135 |
136 } // namespace policy | 136 } // namespace policy |
137 | 137 |
138 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CORE_H_ | 138 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CORE_H_ |
OLD | NEW |