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

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

Issue 2513903003: Disable fetching of policy for login screen apps (Closed)
Patch Set: Disable related tests Created 4 years, 1 month 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 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 _
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