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

Unified Diff: net/spdy/spdy_session.h

Issue 2862027: Fix crash in GetSpdySessionFromSSLSocket in the case where the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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
« no previous file with comments | « net/http/http_network_transaction_unittest.cc ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_session.h
===================================================================
--- net/spdy/spdy_session.h (revision 50644)
+++ net/spdy/spdy_session.h (working copy)
@@ -71,7 +71,8 @@
const BoundNetLog& stream_net_log);
// Used by SpdySessionPool to initialize with a pre-existing SSL socket.
- void InitializeWithSSLSocket(ClientSocketHandle* connection);
+ // Returns OK on success, or an error on failure.
+ net::Error InitializeWithSSLSocket(ClientSocketHandle* connection);
// Write a data frame to the stream.
// Used to create and queue a data frame for the given stream.
@@ -141,7 +142,8 @@
void SendSettings();
// Start reading from the socket.
- void ReadSocket();
+ // Returns OK on success, or an error on failure.
+ net::Error ReadSocket();
// Write current data to the socket.
void WriteSocketLater();
« no previous file with comments | « net/http/http_network_transaction_unittest.cc ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698