| 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 <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 // Return the StatusUploader used to communicate device status to the | 112 // Return the StatusUploader used to communicate device status to the |
| 113 // policy server. | 113 // policy server. |
| 114 StatusUploader* GetStatusUploader() const { return status_uploader_.get(); } | 114 StatusUploader* GetStatusUploader() const { return status_uploader_.get(); } |
| 115 | 115 |
| 116 private: | 116 private: |
| 117 // Saves the state keys received from |session_manager_client_|. | 117 // Saves the state keys received from |session_manager_client_|. |
| 118 void OnStateKeysUpdated(); | 118 void OnStateKeysUpdated(); |
| 119 | 119 |
| 120 // Initializes requisition settings at OOBE with values from VPD. | 120 // Initializes requisition settings at OOBE with values from VPD. |
| 121 void InitializeRequisition(); | 121 void InitializeRequisition(); |
| 122 // Initializes enrollment settings at OOBE with values from flags. |
| 123 void InitializeEnrollment(); |
| 122 | 124 |
| 123 void NotifyConnected(); | 125 void NotifyConnected(); |
| 124 void NotifyDisconnected(); | 126 void NotifyDisconnected(); |
| 125 | 127 |
| 126 // Factory function to create the StatusUploader. | 128 // Factory function to create the StatusUploader. |
| 127 void CreateStatusUploader(); | 129 void CreateStatusUploader(); |
| 128 | 130 |
| 129 // Points to the same object as the base CloudPolicyManager::store(), but with | 131 // Points to the same object as the base CloudPolicyManager::store(), but with |
| 130 // actual device policy specific type. | 132 // actual device policy specific type. |
| 131 std::unique_ptr<DeviceCloudPolicyStoreChromeOS> device_store_; | 133 std::unique_ptr<DeviceCloudPolicyStoreChromeOS> device_store_; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 154 attestation_policy_observer_; | 156 attestation_policy_observer_; |
| 155 | 157 |
| 156 base::ObserverList<Observer, true> observers_; | 158 base::ObserverList<Observer, true> observers_; |
| 157 | 159 |
| 158 DISALLOW_COPY_AND_ASSIGN(DeviceCloudPolicyManagerChromeOS); | 160 DISALLOW_COPY_AND_ASSIGN(DeviceCloudPolicyManagerChromeOS); |
| 159 }; | 161 }; |
| 160 | 162 |
| 161 } // namespace policy | 163 } // namespace policy |
| 162 | 164 |
| 163 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_MANAGER_CHROMEOS_H
_ | 165 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_MANAGER_CHROMEOS_H
_ |
| OLD | NEW |