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

Unified Diff: components/policy/core/common/cloud/cloud_policy_manager.cc

Issue 1304843004: Add source column to chrome://policy showing the origins of policies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed platform-specific tests. Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: components/policy/core/common/cloud/cloud_policy_manager.cc
diff --git a/components/policy/core/common/cloud/cloud_policy_manager.cc b/components/policy/core/common/cloud/cloud_policy_manager.cc
index 6ab0304cfe65a0c8ac12491758840f83d22ff38a..eaa5f5f208562df90278be848206df71e123c304 100644
--- a/components/policy/core/common/cloud/cloud_policy_manager.cc
+++ b/components/policy/core/common/cloud/cloud_policy_manager.cc
@@ -34,6 +34,7 @@ CloudPolicyManager::CloudPolicyManager(
file_task_runner_(file_task_runner),
io_task_runner_(io_task_runner) {
store()->AddObserver(this);
+ source_ = POLICY_SOURCE_CLOUD;
// If the underlying store is already initialized, publish the loaded
// policy. Otherwise, request a load now.

Powered by Google App Engine
This is Rietveld 408576698