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

Unified Diff: content/renderer/media/peer_connection_tracker.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/peer_connection_tracker.h
diff --git a/content/renderer/media/peer_connection_tracker.h b/content/renderer/media/peer_connection_tracker.h
index 5f1673f7342f681d56e366bc60a8ce2dc818ba7b..1bb740a8f16be8c562167fc161f068c3a92214e4 100644
--- a/content/renderer/media/peer_connection_tracker.h
+++ b/content/renderer/media/peer_connection_tracker.h
@@ -19,7 +19,7 @@
#include "third_party/webrtc/api/peerconnectioninterface.h"
namespace blink {
-class WebFrame;
+class WebLocalFrame;
class WebMediaConstraints;
class WebRTCAnswerOptions;
class WebRTCICECandidate;
@@ -68,18 +68,18 @@ class CONTENT_EXPORT PeerConnectionTracker
// UnregisterPeerConnection, otherwise the Track* call has no effect.
//
- // Sends an update when a PeerConnection has been created in Javascript.
- // This should be called once and only once for each PeerConnection.
- // The |pc_handler| is the handler object associated with the PeerConnection,
- // the |servers| are the server configurations used to establish the
- // connection, the |constraints| are the media constraints used to initialize
- // the PeerConnection, the |frame| is the WebFrame object representing the
+ // Sends an update when a PeerConnection has been created in Javascript. This
+ // should be called once and only once for each PeerConnection. The
+ // |pc_handler| is the handler object associated with the PeerConnection, the
+ // |servers| are the server configurations used to establish the connection,
+ // the |constraints| are the media constraints used to initialize the
+ // PeerConnection, the |frame| is the WebLocalFrame object representing the
// page in which the PeerConnection is created.
void RegisterPeerConnection(
RTCPeerConnectionHandler* pc_handler,
const webrtc::PeerConnectionInterface::RTCConfiguration& config,
const blink::WebMediaConstraints& constraints,
- const blink::WebFrame* frame);
+ const blink::WebLocalFrame* frame);
// Sends an update when a PeerConnection has been destroyed.
virtual void UnregisterPeerConnection(RTCPeerConnectionHandler* pc_handler);
« no previous file with comments | « content/renderer/media/android/media_info_loader_unittest.cc ('k') | content/renderer/media/peer_connection_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698