| Index: third_party/WebKit/public/platform/Platform.h
|
| diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h
|
| index f65d73f5627ffb14bccbdb9f964edbb93ac97086..2fdcc52a4dac4004b3bed5ff374b72140956ded6 100644
|
| --- a/third_party/WebKit/public/platform/Platform.h
|
| +++ b/third_party/WebKit/public/platform/Platform.h
|
| @@ -35,6 +35,8 @@
|
| #include <windows.h>
|
| #endif
|
|
|
| +#include <memory>
|
| +
|
| #include "BlameContext.h"
|
| #include "UserMetricsAction.h"
|
| #include "WebAudioDevice.h"
|
| @@ -118,6 +120,7 @@ class WebSandboxSupport;
|
| class WebScrollbarBehavior;
|
| class WebSecurityOrigin;
|
| class WebServiceWorkerCacheStorage;
|
| +class WebSocketHandshakeThrottle;
|
| class WebSpeechSynthesizer;
|
| class WebSpeechSynthesizerClient;
|
| class WebStorageNamespace;
|
| @@ -570,6 +573,13 @@ class BLINK_PLATFORM_EXPORT Platform {
|
| virtual std::unique_ptr<WebImageCaptureFrameGrabber>
|
| CreateImageCaptureFrameGrabber();
|
|
|
| + // WebSocket ----------------------------------------------------------
|
| +
|
| + // If this method returns non-null the returned object will be used to
|
| + // determine if/when a new WebSocket connection can be exposed to Javascript.
|
| + virtual std::unique_ptr<WebSocketHandshakeThrottle>
|
| + CreateWebSocketHandshakeThrottle();
|
| +
|
| // WebWorker ----------------------------------------------------------
|
|
|
| virtual void DidStartWorkerThread() {}
|
|
|