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

Unified Diff: chrome/browser/policy/cloud/cloud_policy_invalidator_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: 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/policy/cloud/cloud_policy_invalidator_unittest.cc
diff --git a/chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc b/chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc
index 6ba4978259e4a1d341a2aab4d04195e20e47b8ea..d741b97f1ef2af35915e3ba3a526ccae443337ab 100644
--- a/chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc
+++ b/chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc
@@ -302,7 +302,8 @@ void CloudPolicyInvalidatorTest::StorePolicy(
store_.policy_map_.LoadFrom(
&policies,
POLICY_LEVEL_MANDATORY,
- POLICY_SCOPE_MACHINE);
+ POLICY_SCOPE_MACHINE,
+ POLICY_SOURCE_CLOUD);
store_.NotifyStoreLoaded();
}

Powered by Google App Engine
This is Rietveld 408576698