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_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_MANAGER_CHROMEOS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_MANAGER_CHROMEOS_H_ |
6 #define CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_MANAGER_CHROMEOS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_MANAGER_CHROMEOS_H_ |
7 | 7 |
8 #include <bitset> | 8 #include <bitset> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "chrome/browser/chromeos/policy/enrollment_status_chromeos.h" | 15 #include "chrome/browser/chromeos/policy/enrollment_status_chromeos.h" |
16 #include "chrome/browser/policy/cloud/cloud_policy_client.h" | 16 #include "chrome/browser/policy/cloud/cloud_policy_client.h" |
17 #include "chrome/browser/policy/cloud/cloud_policy_manager.h" | 17 #include "chrome/browser/policy/cloud/cloud_policy_manager.h" |
18 #include "chrome/browser/policy/cloud/cloud_policy_store.h" | 18 #include "chrome/browser/policy/cloud/cloud_policy_store.h" |
19 | 19 |
| 20 namespace chromeos { |
| 21 namespace attestation { |
| 22 class AttestationPolicyObserver; |
| 23 } |
| 24 } |
| 25 |
20 class PrefService; | 26 class PrefService; |
21 | 27 |
22 namespace policy { | 28 namespace policy { |
23 | 29 |
24 class DeviceCloudPolicyStoreChromeOS; | 30 class DeviceCloudPolicyStoreChromeOS; |
25 class DeviceManagementService; | 31 class DeviceManagementService; |
26 class EnrollmentHandlerChromeOS; | 32 class EnrollmentHandlerChromeOS; |
27 class EnterpriseInstallAttributes; | 33 class EnterpriseInstallAttributes; |
28 | 34 |
29 // CloudPolicyManager specialization for device policy on Chrome OS. The most | 35 // CloudPolicyManager specialization for device policy on Chrome OS. The most |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 | 93 |
88 DeviceManagementService* device_management_service_; | 94 DeviceManagementService* device_management_service_; |
89 scoped_ptr<CloudPolicyClient::StatusProvider> device_status_provider_; | 95 scoped_ptr<CloudPolicyClient::StatusProvider> device_status_provider_; |
90 | 96 |
91 // PrefService instance to read the policy refresh rate from. | 97 // PrefService instance to read the policy refresh rate from. |
92 PrefService* local_state_; | 98 PrefService* local_state_; |
93 | 99 |
94 // Non-null if there is an enrollment operation pending. | 100 // Non-null if there is an enrollment operation pending. |
95 scoped_ptr<EnrollmentHandlerChromeOS> enrollment_handler_; | 101 scoped_ptr<EnrollmentHandlerChromeOS> enrollment_handler_; |
96 | 102 |
| 103 scoped_ptr<chromeos::attestation::AttestationPolicyObserver> |
| 104 attestation_policy_observer_; |
| 105 |
97 DISALLOW_COPY_AND_ASSIGN(DeviceCloudPolicyManagerChromeOS); | 106 DISALLOW_COPY_AND_ASSIGN(DeviceCloudPolicyManagerChromeOS); |
98 }; | 107 }; |
99 | 108 |
100 } // namespace policy | 109 } // namespace policy |
101 | 110 |
102 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_MANAGER_CHROMEOS_H
_ | 111 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_MANAGER_CHROMEOS_H
_ |
OLD | NEW |