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

Unified Diff: content/renderer/render_frame_impl.h

Issue 1416123005: Implement setSinkId() for media elements without src. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index d850ac99fc589ece0f59d3c28e3d2c58ef4818fa..31b19141d9f14d938e7ae1cee17ba155840fab5c 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -884,6 +884,12 @@ class CONTENT_EXPORT RenderFrameImpl
// ServiceProvider.
mojo::ServiceProviderPtr ConnectToApplication(const GURL& url);
+ // Checks that |sink_id| exists and is authorized to be used on
+ // |security_origin|.
+ void checkAudioSink(const blink::WebString& sink_id,
+ const blink::WebSecurityOrigin& security_origin,
+ blink::WebSetSinkIdCallbacks* callback) override;
+
// Stores the WebLocalFrame we are associated with. This is null from the
// constructor until SetWebFrame is called, and it is null after
// frameDetached is called until destruction (which is asynchronous in the

Powered by Google App Engine
This is Rietveld 408576698