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

Unified Diff: net/websockets/websocket_channel.h

Issue 304093003: Support recovery from SSL errors for new WebSocket implementation (Closed) Base URL: http://git.chromium.org/chromium/src.git@master-for-pool-throttling
Patch Set: clang compile fix. Also lint & format cleanups. Created 6 years, 7 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: net/websockets/websocket_channel.h
diff --git a/net/websockets/websocket_channel.h b/net/websockets/websocket_channel.h
index 5c7a6cfc781c20d68698430891df228214dd3cad..6d5640e8be00f50c0ac197e98f5a64155c987ee6 100644
--- a/net/websockets/websocket_channel.h
+++ b/net/websockets/websocket_channel.h
@@ -204,6 +204,15 @@ class NET_EXPORT WebSocketChannel {
// failure to the event interface. May delete |this|.
void OnConnectFailure(const std::string& message);
+ // SSL certificate error callback from
+ // WebSocketStream::CreateAndConnectStream(). Forwards the request to the
+ // event interface.
+ void OnSSLCertificateError(
+ scoped_ptr<WebSocketEventInterface::SSLErrorCallbacks>
+ ssl_error_callbacks,
+ const SSLInfo& ssl_info,
+ bool fatal);
+
// Posts a task that sends pending notifications relating WebSocket Opening
// Handshake to the renderer.
void ScheduleOpeningHandshakeNotification();

Powered by Google App Engine
This is Rietveld 408576698