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

Unified Diff: components/policy/core/common/async_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: Fixed browsertest and removed unnecessary string for default values. Created 5 years, 4 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/async_policy_provider.cc
diff --git a/components/policy/core/common/async_policy_provider.cc b/components/policy/core/common/async_policy_provider.cc
index ae08b209efb78d754da5910356821d7513d00c43..71c126e301af5a5233c2360e1283cc3f55594181 100644
--- a/components/policy/core/common/async_policy_provider.cc
+++ b/components/policy/core/common/async_policy_provider.cc
@@ -48,6 +48,10 @@ void AsyncPolicyProvider::Init(SchemaRegistry* registry) {
DCHECK(post) << "AsyncPolicyProvider::Init() called with threads not running";
}
+PolicySource AsyncPolicyProvider::source() const {
Thiemo Nagel 2015/09/01 17:40:36 Remove.
fhorschig 2015/09/04 06:53:54 Done.
+ return loader_->source();
+}
+
void AsyncPolicyProvider::Shutdown() {
DCHECK(CalledOnValidThread());
// Note on the lifetime of |loader_|:

Powered by Google App Engine
This is Rietveld 408576698