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

Unified Diff: content/renderer/media/webrtc/peer_connection_dependency_factory.h

Issue 2928033002: Move GetDocument method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Split a DCHECK in two as suggested by boliu@. Created 3 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/renderer/media/webrtc/peer_connection_dependency_factory.h
diff --git a/content/renderer/media/webrtc/peer_connection_dependency_factory.h b/content/renderer/media/webrtc/peer_connection_dependency_factory.h
index dcf5f5ea855eaafae352a5ee078281939b8a9ea4..049bcc1f591d25414c29e14896c2b5ebd5f580cc 100644
--- a/content/renderer/media/webrtc/peer_connection_dependency_factory.h
+++ b/content/renderer/media/webrtc/peer_connection_dependency_factory.h
@@ -33,7 +33,7 @@ class Thread;
}
namespace blink {
-class WebFrame;
+class WebLocalFrame;
class WebRTCPeerConnectionHandler;
class WebRTCPeerConnectionHandlerClient;
}
@@ -75,11 +75,10 @@ class CONTENT_EXPORT PeerConnectionDependencyFactory
// Asks the libjingle PeerConnection factory to create a libjingle
// PeerConnection object.
// The PeerConnection object is owned by PeerConnectionHandler.
- virtual scoped_refptr<webrtc::PeerConnectionInterface>
- CreatePeerConnection(
- const webrtc::PeerConnectionInterface::RTCConfiguration& config,
- blink::WebFrame* web_frame,
- webrtc::PeerConnectionObserver* observer);
+ virtual scoped_refptr<webrtc::PeerConnectionInterface> CreatePeerConnection(
+ const webrtc::PeerConnectionInterface::RTCConfiguration& config,
+ blink::WebLocalFrame* web_frame,
+ webrtc::PeerConnectionObserver* observer);
// Creates a libjingle representation of a Session description. Used by a
// RTCPeerConnectionHandler instance.

Powered by Google App Engine
This is Rietveld 408576698