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

Unified Diff: chrome/browser/extensions/extension_management_test_util.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: Moved policy source determiniation from providers to setting method. 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: chrome/browser/extensions/extension_management_test_util.cc
diff --git a/chrome/browser/extensions/extension_management_test_util.cc b/chrome/browser/extensions/extension_management_test_util.cc
index 618eb0bdbf1918fb46442fd9a8443265429890d3..5702e2a8b42cfcba4291d8a59f2c9238b639c73e 100644
--- a/chrome/browser/extensions/extension_management_test_util.cc
+++ b/chrome/browser/extensions/extension_management_test_util.cc
@@ -263,7 +263,8 @@ ExtensionManagementPolicyUpdater::~ExtensionManagementPolicyUpdater() {
policies_->Get(policy::PolicyNamespace(policy::POLICY_DOMAIN_CHROME,
std::string()))
.Set(policy::key::kExtensionSettings, policy::POLICY_LEVEL_MANDATORY,
- policy::POLICY_SCOPE_USER, TakePref().release(), nullptr);
+ policy::POLICY_SCOPE_USER, policy::POLICY_SOURCE_BUILT_IN,
+ TakePref().release(), nullptr);
provider_->UpdatePolicy(policies_.Pass());
}

Powered by Google App Engine
This is Rietveld 408576698