Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Side by Side Diff: chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h

Issue 2603463003: Re-enable fetching component policies for login screen apps (Closed)
Patch Set: Tests cleanup Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/chromeos/policy/device_cloud_policy_browsertest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 _
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/policy/device_cloud_policy_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698