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

Unified Diff: chrome/test/data/policy/policy_test_cases.json

Issue 309553011: Enable policy support for registering protocol handler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Issue_116119_pre
Patch Set: Created 6 years, 7 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/test/data/policy/policy_test_cases.json
diff --git a/chrome/test/data/policy/policy_test_cases.json b/chrome/test/data/policy/policy_test_cases.json
index cccdeedf24c99a0031c8c356f40340d8edf0091a..be260096e61d6a41e89eb9c63cfdd6167ca38976 100644
--- a/chrome/test/data/policy/policy_test_cases.json
+++ b/chrome/test/data/policy/policy_test_cases.json
@@ -1567,6 +1567,28 @@
]
},
+ "RegisteredProtocolHandlers": {
+ "os": ["win", "linux", "mac", "chromeos"],
+ "can_be_recommended": true,
+ "test_policy": { "RegisteredProtocolHandlers": {"protocol": "test", "url": "http://test.com/%s", "default": "true"} },
+ "pref_mappings": [
+ { "pref": "custom_handlers.policy.registered_protocol_handlers",
+ "check_for_mandatory" : false
bartfab (slow) 2014/06/03 11:58:21 1: Can this policy only be set as recommended, not
kaliamoorthi 2014/06/04 18:01:58 This is documented in policy_templates.json. Space
+ }
+ ]
+ },
+
+ "IgnoredProtocolHandlers": {
+ "os": ["win", "linux", "mac", "chromeos"],
+ "can_be_recommended": true,
+ "test_policy": { "IgnoredProtocolHandlers": {"protocol": "test1", "url": "http://test1.com/%s"} },
+ "pref_mappings": [
+ { "pref": "custom_handlers.policy.ignored_protocol_handlers",
+ "check_for_mandatory" : false
bartfab (slow) 2014/06/03 11:58:21 1: Can this policy only be set as recommended, not
kaliamoorthi 2014/06/04 18:01:58 This is documented in policy_templates.json. Space
+ }
+ ]
+ },
+
"HideWebStoreIcon": {
"os": ["win", "linux", "mac", "chromeos"],
"test_policy": { "HideWebStoreIcon": true },

Powered by Google App Engine
This is Rietveld 408576698