diff options
Diffstat (limited to 'chromium/net/websockets/websocket_event_interface.h')
-rw-r--r-- | chromium/net/websockets/websocket_event_interface.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/chromium/net/websockets/websocket_event_interface.h b/chromium/net/websockets/websocket_event_interface.h index 25e12a057e9..761f356c217 100644 --- a/chromium/net/websockets/websocket_event_interface.h +++ b/chromium/net/websockets/websocket_event_interface.h @@ -7,6 +7,7 @@ #include <stdint.h> +#include <memory> #include <string> #include <vector> @@ -94,11 +95,12 @@ class NET_EXPORT WebSocketEventInterface { // Called when the browser starts the WebSocket Opening Handshake. virtual ChannelState OnStartOpeningHandshake( - scoped_ptr<WebSocketHandshakeRequestInfo> request) WARN_UNUSED_RESULT = 0; + std::unique_ptr<WebSocketHandshakeRequestInfo> request) + WARN_UNUSED_RESULT = 0; // Called when the browser finishes the WebSocket Opening Handshake. virtual ChannelState OnFinishOpeningHandshake( - scoped_ptr<WebSocketHandshakeResponseInfo> response) + std::unique_ptr<WebSocketHandshakeResponseInfo> response) WARN_UNUSED_RESULT = 0; // Callbacks to be used in response to a call to OnSSLCertificateError. Very @@ -122,7 +124,7 @@ class NET_EXPORT WebSocketEventInterface { // make the actual decision. The callbacks must not be called after the // WebSocketChannel has been destroyed. virtual ChannelState OnSSLCertificateError( - scoped_ptr<SSLErrorCallbacks> ssl_error_callbacks, + std::unique_ptr<SSLErrorCallbacks> ssl_error_callbacks, const GURL& url, const SSLInfo& ssl_info, bool fatal) WARN_UNUSED_RESULT = 0; |