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

Unified Diff: chrome/browser/extensions/api/preference/preference_api.cc

Issue 940893003: Add `privacy.network.webRTCMultipleRoutesEnabled` to extensions API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webrtc-flag-landed
Patch Set: Underlying CL 916873004 landed. Rebase over master. Created 5 years, 10 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/extensions/api/preference/preference_api.cc
diff --git a/chrome/browser/extensions/api/preference/preference_api.cc b/chrome/browser/extensions/api/preference/preference_api.cc
index c9f5c2549d6a5546965f83ec46bb6d86c144102a..11d795286b09b08a25cc6d51c8f3006b430a449a 100644
--- a/chrome/browser/extensions/api/preference/preference_api.cc
+++ b/chrome/browser/extensions/api/preference/preference_api.cc
@@ -112,6 +112,10 @@ PrefMappingEntry kPrefMapping[] = {
APIPermission::kPrivacy, APIPermission::kPrivacy},
{"translationServiceEnabled", prefs::kEnableTranslate,
APIPermission::kPrivacy, APIPermission::kPrivacy},
+#if defined(ENABLE_WEBRTC)
+ {"webRTCMultipleRoutesEnabled", prefs::kWebRTCMultipleRoutesEnabled,
+ APIPermission::kPrivacy, APIPermission::kPrivacy},
+#endif
// accessibilityFeatures.animationPolicy is available for
// all platforms but the others from accessibilityFeatures
// is only available for OS_CHROMEOS.

Powered by Google App Engine
This is Rietveld 408576698