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

Unified Diff: components/policy/core/common/policy_loader_win_unittest.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/policy_loader_win_unittest.cc
diff --git a/components/policy/core/common/policy_loader_win_unittest.cc b/components/policy/core/common/policy_loader_win_unittest.cc
index c0afc4ecf33f6cd65ab662ff7c43f073bd434d35..6caef665570eaba84650d6ff19ce75e5068112f6 100644
--- a/components/policy/core/common/policy_loader_win_unittest.cc
+++ b/components/policy/core/common/policy_loader_win_unittest.cc
@@ -333,7 +333,9 @@ void ScopedGroupPolicyRegistrySandbox::DeleteKeys() {
}
RegistryTestHarness::RegistryTestHarness(HKEY hive, PolicyScope scope)
- : PolicyProviderTestHarness(POLICY_LEVEL_MANDATORY, scope), hive_(hive) {}
+ : PolicyProviderTestHarness(POLICY_LEVEL_MANDATORY, scope,
+ POLICY_SOURCE_PLATFORM),
bartfab (slow) 2015/09/14 14:42:27 Nit: #include "components/policy/core/common/polic
fhorschig 2015/09/16 13:52:05 Done.
+ hive_(hive) {}
bartfab (slow) 2015/09/14 14:42:27 Nit: Put the closing brace on a separate line (wha
fhorschig 2015/09/16 13:52:05 Done.
RegistryTestHarness::~RegistryTestHarness() {}
@@ -455,7 +457,8 @@ PolicyProviderTestHarness* RegistryTestHarness::CreateHKLM() {
}
PRegTestHarness::PRegTestHarness()
- : PolicyProviderTestHarness(POLICY_LEVEL_MANDATORY, POLICY_SCOPE_MACHINE) {}
+ : PolicyProviderTestHarness(POLICY_LEVEL_MANDATORY, POLICY_SCOPE_MACHINE,
+ POLICY_SOURCE_PLATFORM) {}
bartfab (slow) 2015/09/14 14:42:27 Nit: Put the closing brace on a separate line.
fhorschig 2015/09/16 13:52:05 Done.
PRegTestHarness::~PRegTestHarness() {}

Powered by Google App Engine
This is Rietveld 408576698