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

Unified Diff: components/policy/core/common/schema_registry_tracking_policy_provider.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: 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/schema_registry_tracking_policy_provider.cc
diff --git a/components/policy/core/common/schema_registry_tracking_policy_provider.cc b/components/policy/core/common/schema_registry_tracking_policy_provider.cc
index 4f8e7194bb852d0b30793927355458ba51ee9e12..50dbe17ac8a1fab056eaa82f2e2b2a14485732b4 100644
--- a/components/policy/core/common/schema_registry_tracking_policy_provider.cc
+++ b/components/policy/core/common/schema_registry_tracking_policy_provider.cc
@@ -11,7 +11,9 @@ namespace policy {
SchemaRegistryTrackingPolicyProvider::SchemaRegistryTrackingPolicyProvider(
ConfigurationPolicyProvider* delegate)
- : delegate_(delegate), state_(WAITING_FOR_REGISTRY_READY) {
+ : delegate_(delegate),
+ state_(WAITING_FOR_REGISTRY_READY) {
bartfab (slow) 2015/09/14 14:42:28 Nit: Why did you change the formatting of this lin
fhorschig 2015/09/16 13:52:06 Done.
+ source_ = delegate->source();
bartfab (slow) 2015/09/14 14:42:28 Here and in all the other classes and tests: Why c
fhorschig 2015/09/16 13:52:05 In this case, I didn't want to call a function in
delegate_->AddObserver(this);
// Serve the initial |delegate_| policies.
OnUpdatePolicy(delegate_);

Powered by Google App Engine
This is Rietveld 408576698