summaryrefslogtreecommitdiffstats
path: root/content/renderer/media/rtc_peer_connection_handler.h
diff options
context:
space:
mode:
authortommyw@chromium.org <tommyw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-03 18:34:26 +0000
committertommyw@chromium.org <tommyw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-03 18:34:26 +0000
commitccee48641e4a7dce9ae07f8dabb2ad0511361f7b (patch)
tree656e3327b19ea0b34c4df4ae8ce77ebcf1898a07 /content/renderer/media/rtc_peer_connection_handler.h
parentcbc13ea1fb286030f2f176a29708f3d6acb7601a (diff)
downloadchromium_src-ccee48641e4a7dce9ae07f8dabb2ad0511361f7b.zip
chromium_src-ccee48641e4a7dce9ae07f8dabb2ad0511361f7b.tar.gz
chromium_src-ccee48641e4a7dce9ae07f8dabb2ad0511361f7b.tar.bz2
Removing the usage of frameForCurrentContext in RTCPeerConnectionHandler.
Depends on pending WebKit patch (#98149). BUG=148336 Review URL: https://chromiumcodereview.appspot.com/11037018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159928 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/media/rtc_peer_connection_handler.h')
-rw-r--r--content/renderer/media/rtc_peer_connection_handler.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/content/renderer/media/rtc_peer_connection_handler.h b/content/renderer/media/rtc_peer_connection_handler.h
index 5dab126..e6350db 100644
--- a/content/renderer/media/rtc_peer_connection_handler.h
+++ b/content/renderer/media/rtc_peer_connection_handler.h
@@ -11,6 +11,10 @@
#include "content/renderer/media/peer_connection_handler_base.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebRTCPeerConnectionHandler.h"
+namespace WebKit {
+class WebFrame;
+}
+
// RTCPeerConnectionHandler is a delegate for the RTC PeerConnection API
// messages going between WebKit and native PeerConnection in libjingle. It's
// owned by WebKit.
@@ -26,6 +30,8 @@ class CONTENT_EXPORT RTCPeerConnectionHandler
MediaStreamDependencyFactory* dependency_factory);
virtual ~RTCPeerConnectionHandler();
+ void associateWithFrame(WebKit::WebFrame* frame);
+
// Initialize method only used for unit test.
bool InitializeForTest(
const WebKit::WebRTCConfiguration& server_configuration,
@@ -85,6 +91,8 @@ class CONTENT_EXPORT RTCPeerConnectionHandler
// |client_| is a weak pointer, and is valid until stop() has returned.
WebKit::WebRTCPeerConnectionHandlerClient* client_;
+ WebKit::WebFrame* frame_;
+
DISALLOW_COPY_AND_ASSIGN(RTCPeerConnectionHandler);
};