Index: content/public/renderer/content_renderer_client.h |
diff --git a/content/public/renderer/content_renderer_client.h b/content/public/renderer/content_renderer_client.h |
index 989fd178d0a606a43cda0b8b0c7c7f605c43ecfc..03cd2c6ae07e7fdcac91722e5ce345117e87efd4 100644 |
--- a/content/public/renderer/content_renderer_client.h |
+++ b/content/public/renderer/content_renderer_client.h |
@@ -47,12 +47,13 @@ class WebPlugin; |
class WebPrescientNetworking; |
class WebRTCPeerConnectionHandler; |
class WebRTCPeerConnectionHandlerClient; |
+class WebSocketHandshakeThrottle; |
class WebSpeechSynthesizer; |
class WebSpeechSynthesizerClient; |
class WebThemeEngine; |
class WebURL; |
-class WebURLResponse; |
class WebURLRequest; |
+class WebURLResponse; |
struct WebPluginParams; |
struct WebURLError; |
} // namespace blink |
@@ -175,6 +176,11 @@ class CONTENT_EXPORT ContentRendererClient { |
// the content layer will provide an engine. |
virtual blink::WebThemeEngine* OverrideThemeEngine(); |
+ // Allows the embedder to provide a WebSocketHandshakeThrottle. If it returns |
+ // NULL then none will be used. |
+ virtual std::unique_ptr<blink::WebSocketHandshakeThrottle> |
+ CreateWebSocketHandshakeThrottle(); |
+ |
// Allows the embedder to override the WebSpeechSynthesizer used. |
// If it returns NULL the content layer will provide an engine. |
virtual std::unique_ptr<blink::WebSpeechSynthesizer> |