| Index: content/renderer/render_view_impl.cc
|
| diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
|
| index 4d136cc14d7f2612466e695c2e10854597030217..18a73fc788afa60778cf45d3c82dc2710d5a1810 100644
|
| --- a/content/renderer/render_view_impl.cc
|
| +++ b/content/renderer/render_view_impl.cc
|
| @@ -105,6 +105,8 @@
|
| #include "net/base/escape.h"
|
| #include "net/base/net_errors.h"
|
| #include "net/http/http_util.h"
|
| +#include "third_party/WebKit/Source/Platform/chromium/public/WebRTCPeerConnectionHandler.h"
|
| +#include "third_party/WebKit/Source/Platform/chromium/public/WebRTCPeerConnectionHandlerClient.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityObject.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMEvent.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMMessageEvent.h"
|
| @@ -150,8 +152,6 @@
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebImage.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebPeerConnection00Handler.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebPeerConnection00HandlerClient.h"
|
| -#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebPeerConnectionHandler.h"
|
| -#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebPeerConnectionHandlerClient.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebPoint.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebRect.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSerializedScriptValue.h"
|
| @@ -253,8 +253,6 @@ using WebKit::WebPageSerializer;
|
| using WebKit::WebPageSerializerClient;
|
| using WebKit::WebPeerConnection00Handler;
|
| using WebKit::WebPeerConnection00HandlerClient;
|
| -using WebKit::WebPeerConnectionHandler;
|
| -using WebKit::WebPeerConnectionHandlerClient;
|
| using WebKit::WebPlugin;
|
| using WebKit::WebPluginAction;
|
| using WebKit::WebPluginContainer;
|
| @@ -265,6 +263,8 @@ using WebKit::WebPopupMenuInfo;
|
| using WebKit::WebRange;
|
| using WebKit::WebRect;
|
| using WebKit::WebReferrerPolicy;
|
| +using WebKit::WebRTCPeerConnectionHandler;
|
| +using WebKit::WebRTCPeerConnectionHandlerClient;
|
| using WebKit::WebScriptSource;
|
| using WebKit::WebSearchableFormData;
|
| using WebKit::WebSecurityOrigin;
|
| @@ -759,6 +759,14 @@ WebPeerConnection00Handler* RenderViewImpl::CreatePeerConnectionHandlerJsep(
|
| return media_stream_impl_->CreatePeerConnectionHandlerJsep(client);
|
| }
|
|
|
| +WebRTCPeerConnectionHandler* RenderViewImpl::CreateRTCPeerConnectionHandler(
|
| + WebRTCPeerConnectionHandlerClient* client) {
|
| + EnsureMediaStreamImpl();
|
| + if (!media_stream_impl_)
|
| + return NULL;
|
| + return media_stream_impl_->CreateRTCPeerConnectionHandler(client);
|
| +}
|
| +
|
| void RenderViewImpl::AddObserver(RenderViewObserver* observer) {
|
| observers_.AddObserver(observer);
|
| }
|
|
|