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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 90 |
85 DeviceManagementService* device_management_service_; | 91 DeviceManagementService* device_management_service_; |
86 scoped_ptr<CloudPolicyClient::StatusProvider> device_status_provider_; | 92 scoped_ptr<CloudPolicyClient::StatusProvider> device_status_provider_; |
87 | 93 |
88 // PrefService instance to read the policy refresh rate from. | 94 // PrefService instance to read the policy refresh rate from. |
89 PrefService* local_state_; | 95 PrefService* local_state_; |
90 | 96 |
91 // Non-null if there is an enrollment operation pending. | 97 // Non-null if there is an enrollment operation pending. |
92 scoped_ptr<EnrollmentHandlerChromeOS> enrollment_handler_; | 98 scoped_ptr<EnrollmentHandlerChromeOS> enrollment_handler_; |
93 | 99 |
| 100 scoped_ptr<chromeos::attestation::AttestationPolicyObserver> |
| 101 attestation_policy_observer_; |
| 102 |
94 DISALLOW_COPY_AND_ASSIGN(DeviceCloudPolicyManagerChromeOS); | 103 DISALLOW_COPY_AND_ASSIGN(DeviceCloudPolicyManagerChromeOS); |
95 }; | 104 }; |
96 | 105 |
97 } // namespace policy | 106 } // namespace policy |
98 | 107 |
99 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_MANAGER_CHROMEOS_H
_ | 108 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_MANAGER_CHROMEOS_H
_ |
OLD | NEW |