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

Unified Diff: chrome/browser/extensions/api/content_settings/content_settings_helpers.cc

Issue 880223002: Expose microphone content setting to extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed to 'microphone'. Created 5 years, 11 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/content_settings/content_settings_helpers.cc
diff --git a/chrome/browser/extensions/api/content_settings/content_settings_helpers.cc b/chrome/browser/extensions/api/content_settings/content_settings_helpers.cc
index 7730dc2da835e10ff590804c01d7f6095fdc0d96..ca8287ae6550e92a7369a1a6b4109e0735d49586 100644
--- a/chrome/browser/extensions/api/content_settings/content_settings_helpers.cc
+++ b/chrome/browser/extensions/api/content_settings/content_settings_helpers.cc
@@ -27,7 +27,10 @@ const char* const kContentSettingsTypeNames[] = {
"notifications",
"auto-select-certificate",
"fullscreen",
- "mouselock"
+ "mouselock",
+ "register-protocol-handler",
not at google - send to devlin 2015/01/30 20:11:52 why are there 3 changes here (in particular RPH se
Mike West 2015/01/31 09:51:59 This array needs to match the ContentSettingsType
not at google - send to devlin 2015/02/02 17:52:57 Okie I'm a little confused, it doesn't match the e
msramek 2015/02/02 18:50:52 Oh! Thanks, good catch :-) (I would notice it when
+ "media-stream",
+ "media-stream-mic"
};
// TODO(msramek): Assert that |kContentSettingsTypeNames| is synced with enum

Powered by Google App Engine
This is Rietveld 408576698