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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 2284473002: Move WebSocketHandleImpl into Blink (take 2) (Closed)
Patch Set: Extract WebSocketHandle as pure interface Created 4 years, 4 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/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index b83427f28cc7f4428a5022a98856db5efc1afb7d..781b42e5abf9e3c198f9e241765b41393e4d4b6f 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -131,7 +131,6 @@
#include "content/renderer/web_frame_utils.h"
#include "content/renderer/web_ui_extension.h"
#include "content/renderer/websharedworker_proxy.h"
-#include "content/renderer/websockethandle_impl.h"
#include "crypto/sha2.h"
#include "gin/modules/module_registry.h"
#include "media/audio/audio_output_device.h"
@@ -4294,15 +4293,6 @@ blink::WebPushClient* RenderFrameImpl::pushClient() {
return push_messaging_dispatcher_;
}
-void RenderFrameImpl::willOpenWebSocket(blink::WebSocketHandle* handle) {
- // Initialize the WebSocketHandle with our InterfaceProvider to provide the
- // WebSocket implementation with context about this frame. This is important
- // so that the browser can show UI associated with the WebSocket (e.g., for
- // certificate errors).
- static_cast<WebSocketHandleImpl*>(handle)->Initialize(
- blink_interface_provider_.get());
-}
-
void RenderFrameImpl::willStartUsingPeerConnectionHandler(
blink::WebRTCPeerConnectionHandler* handler) {
#if defined(ENABLE_WEBRTC)

Powered by Google App Engine
This is Rietveld 408576698