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_BROWSER_POLICY_CONNECTOR_H_ | 5 #ifndef CHROME_BROWSER_POLICY_BROWSER_POLICY_CONNECTOR_H_ |
6 #define CHROME_BROWSER_POLICY_BROWSER_POLICY_CONNECTOR_H_ | 6 #define CHROME_BROWSER_POLICY_BROWSER_POLICY_CONNECTOR_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.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/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "chrome/browser/policy/cloud/cloud_policy_constants.h" | 14 #include "chrome/browser/policy/cloud/cloud_policy_constants.h" |
15 #include "chrome/browser/policy/configuration_policy_handler_list.h" | 15 #include "chrome/browser/policy/configuration_policy_handler_list.h" |
16 | 16 |
17 #if defined(OS_CHROMEOS) | 17 #if defined(OS_CHROMEOS) |
18 #include "chrome/browser/chromeos/policy/proxy_policy_provider.h" | 18 #include "chrome/browser/chromeos/policy/proxy_policy_provider.h" |
19 #endif | 19 #endif |
20 | 20 |
| 21 #if defined(OS_CHROMEOS) |
| 22 namespace chromeos { |
| 23 namespace attestation { |
| 24 class AttestationPolicyObserver; |
| 25 } |
| 26 } |
| 27 #endif |
| 28 |
21 class PrefRegistrySimple; | 29 class PrefRegistrySimple; |
22 class PrefService; | 30 class PrefService; |
23 class Profile; | 31 class Profile; |
24 | 32 |
25 namespace net { | 33 namespace net { |
26 class URLRequestContextGetter; | 34 class URLRequestContextGetter; |
27 } | 35 } |
28 | 36 |
29 namespace policy { | 37 namespace policy { |
30 | 38 |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 | 220 |
213 scoped_ptr<DeviceManagementService> device_management_service_; | 221 scoped_ptr<DeviceManagementService> device_management_service_; |
214 | 222 |
215 // Used to initialize the device policy subsystem once the message loops | 223 // Used to initialize the device policy subsystem once the message loops |
216 // are spinning. | 224 // are spinning. |
217 base::WeakPtrFactory<BrowserPolicyConnector> weak_ptr_factory_; | 225 base::WeakPtrFactory<BrowserPolicyConnector> weak_ptr_factory_; |
218 | 226 |
219 #if defined(OS_CHROMEOS) | 227 #if defined(OS_CHROMEOS) |
220 scoped_ptr<AppPackUpdater> app_pack_updater_; | 228 scoped_ptr<AppPackUpdater> app_pack_updater_; |
221 scoped_ptr<NetworkConfigurationUpdater> network_configuration_updater_; | 229 scoped_ptr<NetworkConfigurationUpdater> network_configuration_updater_; |
| 230 scoped_ptr<chromeos::attestation::AttestationPolicyObserver> |
| 231 attestation_policy_observer_; |
222 #endif | 232 #endif |
223 | 233 |
224 DISALLOW_COPY_AND_ASSIGN(BrowserPolicyConnector); | 234 DISALLOW_COPY_AND_ASSIGN(BrowserPolicyConnector); |
225 }; | 235 }; |
226 | 236 |
227 } // namespace policy | 237 } // namespace policy |
228 | 238 |
229 #endif // CHROME_BROWSER_POLICY_BROWSER_POLICY_CONNECTOR_H_ | 239 #endif // CHROME_BROWSER_POLICY_BROWSER_POLICY_CONNECTOR_H_ |
OLD | NEW |