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

Unified Diff: chrome/browser/chromeos/settings/device_settings_service.cc

Issue 2606773002: Setup Chromad user policy plumbing (Closed)
Patch Set: Address remaining comments Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/settings/device_settings_service.cc
diff --git a/chrome/browser/chromeos/settings/device_settings_service.cc b/chrome/browser/chromeos/settings/device_settings_service.cc
index 73cd7567a3d06791ed78d67452bd804b6ba75897..552b54b0cc39a4bf66a2e8c716b0a8e2061da4d1 100644
--- a/chrome/browser/chromeos/settings/device_settings_service.cc
+++ b/chrome/browser/chromeos/settings/device_settings_service.cc
@@ -133,7 +133,9 @@ void DeviceSettingsService::Store(
std::unique_ptr<em::PolicyFetchResponse> policy,
const base::Closure& callback) {
// On Active Directory managed devices policy is written only by authpolicyd.
- CHECK(device_mode_ != policy::DEVICE_MODE_ENTERPRISE_AD);
+ // TODO(tnagel): Re-enable the CHECK.
+ // CHECK(device_mode_ != policy::DEVICE_MODE_ENTERPRISE_AD);
+ LOG(ERROR) << "BAD STORE";
Enqueue(linked_ptr<SessionManagerOperation>(new StoreSettingsOperation(
base::Bind(&DeviceSettingsService::HandleCompletedOperation,
weak_factory_.GetWeakPtr(), callback),

Powered by Google App Engine
This is Rietveld 408576698