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

Unified Diff: components/policy/core/common/schema_registry_tracking_policy_provider_unittest.cc

Issue 1350913006: Revert of 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/schema_registry_tracking_policy_provider_unittest.cc
diff --git a/components/policy/core/common/schema_registry_tracking_policy_provider_unittest.cc b/components/policy/core/common/schema_registry_tracking_policy_provider_unittest.cc
index a67b63be7923fd82fea3e3b63b9dc76d8fa9f2df..c90d2eaf1823fba1062b1c0b6973ca57a19c18b8 100644
--- a/components/policy/core/common/schema_registry_tracking_policy_provider_unittest.cc
+++ b/components/policy/core/common/schema_registry_tracking_policy_provider_unittest.cc
@@ -86,7 +86,6 @@
bundle.Get(chrome_ns).Set("policy",
POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER,
- POLICY_SOURCE_CLOUD,
new base::StringValue("visible"),
NULL);
@@ -97,7 +96,6 @@
.Set("foo",
POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER,
- POLICY_SOURCE_CLOUD,
new base::StringValue("not visible"),
NULL);
mock_provider_.UpdatePolicy(delegate_bundle.Pass());
@@ -129,7 +127,6 @@
policy_map.Set("foo",
POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER,
- POLICY_SOURCE_CLOUD,
new base::StringValue("omg"),
NULL);
scoped_ptr<PolicyBundle> bundle(new PolicyBundle);
@@ -181,7 +178,6 @@
policy_map.Set("foo",
POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER,
- POLICY_SOURCE_CLOUD,
new base::StringValue("omg"),
NULL);
// Chrome policy updates are visible even if the components aren't ready.
@@ -225,7 +221,6 @@
platform_policy.Get(ns).Set("foo",
POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER,
- POLICY_SOURCE_CLOUD,
new base::StringValue("omg"),
NULL);
scoped_ptr<PolicyBundle> copy(new PolicyBundle);
« no previous file with comments | « components/policy/core/common/schema_map_unittest.cc ('k') | components/policy/tools/generate_policy_source.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698