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

Unified Diff: content/browser/renderer_host/media/media_stream_dispatcher_host.h

Issue 323313003: Add flag in device enumeration request to control label clearing and don't clear for pepper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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: content/browser/renderer_host/media/media_stream_dispatcher_host.h
diff --git a/content/browser/renderer_host/media/media_stream_dispatcher_host.h b/content/browser/renderer_host/media/media_stream_dispatcher_host.h
index 90314bc50b30686d2de7acb02ec762b81d774f59..b599c39c951979cc9070153e783e735942454b46 100644
--- a/content/browser/renderer_host/media/media_stream_dispatcher_host.h
+++ b/content/browser/renderer_host/media/media_stream_dispatcher_host.h
@@ -79,7 +79,8 @@ class CONTENT_EXPORT MediaStreamDispatcherHost : public BrowserMessageFilter,
void OnEnumerateDevices(int render_view_id,
int page_request_id,
MediaStreamType type,
- const GURL& security_origin);
+ const GURL& security_origin,
+ bool hide_labels_if_no_access);
void OnCancelEnumerateDevices(int render_view_id,
int page_request_id);
@@ -95,7 +96,7 @@ class CONTENT_EXPORT MediaStreamDispatcherHost : public BrowserMessageFilter,
void StoreRequest(int render_view_id,
int page_request_id,
- const std::string& label);;
+ const std::string& label);
bool IsURLAllowed(const GURL& url);

Powered by Google App Engine
This is Rietveld 408576698