summaryrefslogtreecommitdiffstats
path: root/content/renderer/media/peer_connection_tracker.h
diff options
context:
space:
mode:
authorjiayl@chromium.org <jiayl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-26 23:42:32 +0000
committerjiayl@chromium.org <jiayl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-26 23:42:32 +0000
commit2746df93f815c4d054f2197752879acd5b9327db (patch)
tree9881d97a056de6148ff1601d41dafe5428ac099b /content/renderer/media/peer_connection_tracker.h
parent1851802fee34e3f5b4a91770284ff960f09558e8 (diff)
downloadchromium_src-2746df93f815c4d054f2197752879acd5b9327db.zip
chromium_src-2746df93f815c4d054f2197752879acd5b9327db.tar.gz
chromium_src-2746df93f815c4d054f2197752879acd5b9327db.tar.bz2
Displays stream properties like msid/label with the ssrc for stats table and graphs. Adds the ability to expand/collapse a peerconnection section. Also adds more JS annotation and refactors the global functions into helper classes for better readability and maintainability.
BUG= Review URL: https://chromiumcodereview.appspot.com/13483014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196883 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/media/peer_connection_tracker.h')
-rw-r--r--content/renderer/media/peer_connection_tracker.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/content/renderer/media/peer_connection_tracker.h b/content/renderer/media/peer_connection_tracker.h
index 9bd93fc..53e5369 100644
--- a/content/renderer/media/peer_connection_tracker.h
+++ b/content/renderer/media/peer_connection_tracker.h
@@ -11,12 +11,14 @@
#include "content/public/renderer/render_process_observer.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebMediaStream.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebRTCPeerConnectionHandlerClient.h"
+#include "third_party/WebKit/Source/Platform/chromium/public/WebRTCSessionDescription.h"
#include "third_party/libjingle/source/talk/app/webrtc/peerconnectioninterface.h"
namespace WebKit {
class WebFrame;
class WebRTCICECandidate;
class WebString;
+class WebRTCSessionDescription;
} // namespace WebKit
namespace webrtc {
@@ -84,7 +86,7 @@ class CONTENT_EXPORT PeerConnectionTracker : public RenderProcessObserver {
// Sends an update when setLocalDescription or setRemoteDescription is called.
virtual void TrackSetSessionDescription(
RTCPeerConnectionHandler* pc_handler,
- const webrtc::SessionDescriptionInterface* desc, Source source);
+ const WebKit::WebRTCSessionDescription& desc, Source source);
// Sends an update when Ice candidates are updated.
virtual void TrackUpdateIce(