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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
169 | 169 |
170 std::unique_ptr<chromeos::attestation::AttestationPolicyObserver> | 170 std::unique_ptr<chromeos::attestation::AttestationPolicyObserver> |
171 attestation_policy_observer_; | 171 attestation_policy_observer_; |
172 | 172 |
173 // Wrapper schema registry that will track the signin profile schema registry | 173 // Wrapper schema registry that will track the signin profile schema registry |
174 // once it is passed to this class. | 174 // once it is passed to this class. |
175 std::unique_ptr<ForwardingSchemaRegistry> | 175 std::unique_ptr<ForwardingSchemaRegistry> |
176 signin_profile_forwarding_schema_registry_; | 176 signin_profile_forwarding_schema_registry_; |
177 | 177 |
178 // Whether the component cloud policy service should be created. | 178 // Whether the component cloud policy service should be created. |
179 // TODO(emaxx): Change the default to true once both the client and the | 179 bool is_component_policy_enabled_ = true; |
Thiemo Nagel
2016/12/29 17:05:21
Nit: Maybe it would make sense to change polarity
emaxx
2016/12/30 03:24:27
Done. (Finally named "component_policy_disabled_fo
| |
180 // DMServer are ready for handling policy fetches with the | |
181 // google/chromeos/signinextension type. See crbug.com/666720, | |
182 // crbug.com/644304 for reference. | |
183 bool is_component_policy_enabled_ = false; | |
184 | 180 |
185 base::ObserverList<Observer, true> observers_; | 181 base::ObserverList<Observer, true> observers_; |
186 | 182 |
187 DISALLOW_COPY_AND_ASSIGN(DeviceCloudPolicyManagerChromeOS); | 183 DISALLOW_COPY_AND_ASSIGN(DeviceCloudPolicyManagerChromeOS); |
188 }; | 184 }; |
189 | 185 |
190 } // namespace policy | 186 } // namespace policy |
191 | 187 |
192 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_MANAGER_CHROMEOS_H _ | 188 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_MANAGER_CHROMEOS_H _ |
OLD | NEW |