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

Unified Diff: content/renderer/renderer_blink_platform_impl.cc

Issue 2952583002: SafeBrowsing support for WebSocket (post-network-servicification) (Closed)
Patch Set: Fix compile on Windows 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/renderer_blink_platform_impl.cc
diff --git a/content/renderer/renderer_blink_platform_impl.cc b/content/renderer/renderer_blink_platform_impl.cc
index 06e60c546e565a8ceb65ef010623909cd42e7e44..fa2844c406bd2c33b03b8555dc631c1811666fa9 100644
--- a/content/renderer/renderer_blink_platform_impl.cc
+++ b/content/renderer/renderer_blink_platform_impl.cc
@@ -96,6 +96,7 @@
#include "third_party/WebKit/public/platform/WebRTCCertificateGenerator.h"
#include "third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h"
#include "third_party/WebKit/public/platform/WebSecurityOrigin.h"
+#include "third_party/WebKit/public/platform/WebSocketHandshakeThrottle.h"
#include "third_party/WebKit/public/platform/WebThread.h"
#include "third_party/WebKit/public/platform/WebURL.h"
#include "third_party/WebKit/public/platform/WebVector.h"
@@ -932,6 +933,13 @@ RendererBlinkPlatformImpl::CreateImageCaptureFrameGrabber() {
//------------------------------------------------------------------------------
+std::unique_ptr<blink::WebSocketHandshakeThrottle>
+RendererBlinkPlatformImpl::CreateWebSocketHandshakeThrottle() {
+ return GetContentClient()->renderer()->CreateWebSocketHandshakeThrottle();
+}
+
+//------------------------------------------------------------------------------
+
std::unique_ptr<blink::WebSpeechSynthesizer>
RendererBlinkPlatformImpl::CreateSpeechSynthesizer(
blink::WebSpeechSynthesizerClient* client) {

Powered by Google App Engine
This is Rietveld 408576698