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

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: Fixed another test. 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..a906b798be909cc376fd79161ac4d430708f593d 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_CLOUD,
+ TakePref().release(), nullptr);
provider_->UpdatePolicy(policies_.Pass());
}
« no previous file with comments | « chrome/browser/extensions/api/storage/settings_apitest.cc ('k') | chrome/browser/extensions/policy_handlers_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698