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

Unified Diff: components/policy/core/common/config_dir_policy_loader.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/config_dir_policy_loader.cc
diff --git a/components/policy/core/common/config_dir_policy_loader.cc b/components/policy/core/common/config_dir_policy_loader.cc
index b39d8385bbfca48e5a653a9edf7862bf74fc27bf..a8d143e967ad725f150b36800753b3eedf95a5ea 100644
--- a/components/policy/core/common/config_dir_policy_loader.cc
+++ b/components/policy/core/common/config_dir_policy_loader.cc
@@ -84,6 +84,10 @@ scoped_ptr<PolicyBundle> ConfigDirPolicyLoader::Load() {
return bundle.Pass();
}
+PolicySource ConfigDirPolicyLoader::source() const {
Thiemo Nagel 2015/09/01 17:40:37 Remove.
fhorschig 2015/09/04 06:53:54 Done.
+ return POLICY_SOURCE_PLATFORM;
+}
+
base::Time ConfigDirPolicyLoader::LastModificationTime() {
static const base::FilePath::CharType* kConfigDirSuffixes[] = {
kMandatoryConfigDir,

Powered by Google App Engine
This is Rietveld 408576698