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

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: After rebase Created 6 years, 6 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 c2e49c9bd95078bb8d846dce359a0f1e2fecc39f..2508fc4051cdcddb08aea0f020126398416e6fc7 100644
--- a/chrome/test/data/policy/policy_test_cases.json
+++ b/chrome/test/data/policy/policy_test_cases.json
@@ -1575,6 +1575,28 @@
]
},
+ "RegisteredProtocolHandlers": {
+ "os": ["win", "linux", "mac", "chromeos"],
+ "can_be_recommended": true,
+ "test_policy": { "RegisteredProtocolHandlers": {"protocol": "test", "url": "http://test.com/%s", "default": "true"} },
bartfab (slow) 2014/06/06 12:01:57 Nit: s/test.com/example.com/ (example.com is speci
kaliamoorthi 2014/06/10 17:14:26 Done.
+ "pref_mappings": [
+ { "pref": "custom_handlers.policy.registered_protocol_handlers",
+ "check_for_mandatory": false
+ }
+ ]
+ },
+
+ "IgnoredProtocolHandlers": {
+ "os": ["win", "linux", "mac", "chromeos"],
+ "can_be_recommended": true,
+ "test_policy": { "IgnoredProtocolHandlers": {"protocol": "test1", "url": "http://test1.com/%s"} },
bartfab (slow) 2014/06/06 12:01:57 Nit 1: s/test1.com/example.com/ (example.com is sp
kaliamoorthi 2014/06/10 17:14:26 Not relevant anymore
+ "pref_mappings": [
+ { "pref": "custom_handlers.policy.ignored_protocol_handlers",
+ "check_for_mandatory": false
+ }
+ ]
+ },
+
"HideWebStoreIcon": {
"os": ["win", "linux", "mac", "chromeos"],
"test_policy": { "HideWebStoreIcon": true },

Powered by Google App Engine
This is Rietveld 408576698