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

Unified Diff: content/renderer/media/media_stream_impl.cc

Issue 10804004: Remove the deprecated PeerConnection that uses the ROAP protocol. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed trailing whitespace in webrtc.py Created 8 years, 5 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
« no previous file with comments | « content/renderer/media/media_stream_impl.h ('k') | content/renderer/media/media_stream_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/media_stream_impl.cc
diff --git a/content/renderer/media/media_stream_impl.cc b/content/renderer/media/media_stream_impl.cc
index 8ab09d9cb358dc8ae28ad9deeddfda6eeeb9e0bf..b68d34d2a4ecc375730cbc1efdef9117d22b74c4 100644
--- a/content/renderer/media/media_stream_impl.cc
+++ b/content/renderer/media/media_stream_impl.cc
@@ -18,7 +18,6 @@
#include "content/renderer/media/media_stream_extra_data.h"
#include "content/renderer/media/media_stream_dependency_factory.h"
#include "content/renderer/media/media_stream_dispatcher.h"
-#include "content/renderer/media/peer_connection_handler.h"
#include "content/renderer/media/peer_connection_handler_jsep.h"
#include "content/renderer/media/video_capture_impl_manager.h"
#include "content/renderer/media/video_capture_module_impl.h"
@@ -44,7 +43,6 @@ const int kVideoCaptureFramePerSecond = 30;
enum JavaScriptAPIName {
kWebkitGetUserMedia,
kWebkitPeerConnection,
- kWebkitDeprecatedPeerConnection,
kInvalidName
};
} // namespace
@@ -95,22 +93,6 @@ MediaStreamImpl::~MediaStreamImpl() {
CleanupPeerConnectionFactory();
}
-WebKit::WebPeerConnectionHandler* MediaStreamImpl::CreatePeerConnectionHandler(
- WebKit::WebPeerConnectionHandlerClient* client) {
- // Save histogram data so we can see how much PeerConnetion is used.
- // The histogram counts the number of calls to the JS API
- // webKitDeprecatedPeerConnection.
- UpdateWebRTCMethodCount(kWebkitDeprecatedPeerConnection);
- DCHECK(CalledOnValidThread());
- if (!EnsurePeerConnectionFactory())
- return NULL;
-
- PeerConnectionHandler* pc_handler = new PeerConnectionHandler(
- client,
- dependency_factory_.get());
- return pc_handler;
-}
-
WebKit::WebPeerConnection00Handler*
MediaStreamImpl::CreatePeerConnectionHandlerJsep(
WebKit::WebPeerConnection00HandlerClient* client) {
« no previous file with comments | « content/renderer/media/media_stream_impl.h ('k') | content/renderer/media/media_stream_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698