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

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

Issue 1251543002: Show policy allowed URLs as policy exceptions in the media settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@flash-links
Patch Set: Scoped ptrs. Created 5 years, 5 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 526e90659d8e50be64596ee50c1ad9c1b021ddf8..d856e0348086d7b2f1c13a0248f33ea5d5677cc9 100644
--- a/chrome/test/data/policy/policy_test_cases.json
+++ b/chrome/test/data/policy/policy_test_cases.json
@@ -1148,7 +1148,11 @@
"test_policy": { "AudioCaptureAllowedUrls": ["[*.]google.com"] },
"pref_mappings": [
{
- "pref": "hardware.audio_capture_allowed_urls"
+ "pref": "hardware.audio_capture_allowed_urls",
+ "indicator_selector": "[content-exception=media-stream-mic]",
+ "indicator_tests": [
+ { "policy": { "AudioCaptureAllowedUrls": ["[*.]google.com"] } }
+ ]
}
]
},
@@ -1173,7 +1177,11 @@
"test_policy": { "VideoCaptureAllowedUrls": ["[*.]google.com"] },
"pref_mappings": [
{
- "pref": "hardware.video_capture_allowed_urls"
+ "pref": "hardware.video_capture_allowed_urls",
+ "indicator_selector": "[content-exception=media-stream-camera]",
+ "indicator_tests": [
+ { "policy": { "VideoCaptureAllowedUrls": ["[*.]google.com"] } }
+ ]
}
]
},

Powered by Google App Engine
This is Rietveld 408576698