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

Unified Diff: chrome/browser/search/contextual_search_policy_handler_android_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/search/contextual_search_policy_handler_android_unittest.cc
diff --git a/chrome/browser/search/contextual_search_policy_handler_android_unittest.cc b/chrome/browser/search/contextual_search_policy_handler_android_unittest.cc
index 1b494f0b9650488ff0260d91671e3ee1f59fc999..7ad34f1082d2a63b4a0c0304727fa943d7d08ed1 100644
--- a/chrome/browser/search/contextual_search_policy_handler_android_unittest.cc
+++ b/chrome/browser/search/contextual_search_policy_handler_android_unittest.cc
@@ -27,6 +27,7 @@ TEST(ContextualSearchPolicyHandlerAndroidTest, Enabled) {
policy.Set(key::kContextualSearchEnabled,
POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER,
+ POLICY_SOURCE_PLATFORM,
new base::FundamentalValue(true),
NULL);
PrefValueMap prefs;
@@ -44,6 +45,7 @@ TEST(ContextualSearchPolicyHandlerAndroidTest, Disabled) {
policy.Set(key::kContextualSearchEnabled,
POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER,
+ POLICY_SOURCE_PLATFORM,
new base::FundamentalValue(false),
NULL);
PrefValueMap prefs;
« no previous file with comments | « chrome/browser/resources/policy.js ('k') | chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698