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 <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 void RemoveDeviceCloudPolicyManagerObserver(Observer* observer); | 67 void RemoveDeviceCloudPolicyManagerObserver(Observer* observer); |
68 | 68 |
69 // TODO(davidyu): Move these two functions to a more appropriate place. See | 69 // TODO(davidyu): Move these two functions to a more appropriate place. See |
70 // http://crbug.com/383695. | 70 // http://crbug.com/383695. |
71 // Gets/Sets the device requisition. | 71 // Gets/Sets the device requisition. |
72 std::string GetDeviceRequisition() const; | 72 std::string GetDeviceRequisition() const; |
73 void SetDeviceRequisition(const std::string& requisition); | 73 void SetDeviceRequisition(const std::string& requisition); |
74 bool IsRemoraRequisition() const; | 74 bool IsRemoraRequisition() const; |
75 bool IsSharkRequisition() const; | 75 bool IsSharkRequisition() const; |
76 | 76 |
| 77 // If set, the device will start the enterprise enrollment OOBE. |
| 78 void SetDeviceEnrollmentAutoStart(); |
| 79 |
77 // CloudPolicyManager: | 80 // CloudPolicyManager: |
78 void Shutdown() override; | 81 void Shutdown() override; |
79 | 82 |
80 // Pref registration helper. | 83 // Pref registration helper. |
81 static void RegisterPrefs(PrefRegistrySimple* registry); | 84 static void RegisterPrefs(PrefRegistrySimple* registry); |
82 | 85 |
83 // Returns the device serial number, or an empty string if not available. | 86 // Returns the device serial number, or an empty string if not available. |
84 static std::string GetMachineID(); | 87 static std::string GetMachineID(); |
85 | 88 |
86 // Returns the machine model, or an empty string if not available. | 89 // Returns the machine model, or an empty string if not available. |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 attestation_policy_observer_; | 154 attestation_policy_observer_; |
152 | 155 |
153 base::ObserverList<Observer, true> observers_; | 156 base::ObserverList<Observer, true> observers_; |
154 | 157 |
155 DISALLOW_COPY_AND_ASSIGN(DeviceCloudPolicyManagerChromeOS); | 158 DISALLOW_COPY_AND_ASSIGN(DeviceCloudPolicyManagerChromeOS); |
156 }; | 159 }; |
157 | 160 |
158 } // namespace policy | 161 } // namespace policy |
159 | 162 |
160 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_MANAGER_CHROMEOS_H
_ | 163 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_MANAGER_CHROMEOS_H
_ |
OLD | NEW |