| 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 bool is_component_policy_enabled_ = true; | 179 // TODO(emaxx): Change the default to true once both the client and the |
| 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; |
| 180 | 184 |
| 181 base::ObserverList<Observer, true> observers_; | 185 base::ObserverList<Observer, true> observers_; |
| 182 | 186 |
| 183 DISALLOW_COPY_AND_ASSIGN(DeviceCloudPolicyManagerChromeOS); | 187 DISALLOW_COPY_AND_ASSIGN(DeviceCloudPolicyManagerChromeOS); |
| 184 }; | 188 }; |
| 185 | 189 |
| 186 } // namespace policy | 190 } // namespace policy |
| 187 | 191 |
| 188 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_MANAGER_CHROMEOS_H
_ | 192 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_MANAGER_CHROMEOS_H
_ |
| OLD | NEW |