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

Unified Diff: net/socket/socket_test_util.h

Issue 8892026: SPDY - add support for spdy/2.1 to support flow control. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years 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_server_properties.cc ('k') | net/socket/socket_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/socket_test_util.h
===================================================================
--- net/socket/socket_test_util.h (revision 113884)
+++ net/socket/socket_test_util.h (working copy)
@@ -761,6 +761,9 @@
std::string* server_protos) OVERRIDE;
virtual bool was_npn_negotiated() const OVERRIDE;
virtual bool set_was_npn_negotiated(bool negotiated) OVERRIDE;
+ virtual SSLClientSocket::NextProto next_protocol_negotiated() const OVERRIDE;
+ virtual void set_next_protocol_negotiated(
+ SSLClientSocket::NextProto next_protocol) OVERRIDE;
// This MockSocket does not implement the manual async IO feature.
virtual void OnReadComplete(const MockRead& data) OVERRIDE;
@@ -775,6 +778,8 @@
bool is_npn_state_set_;
bool new_npn_value_;
bool was_used_to_convey_data_;
+ bool is_next_protocol_set_;
+ SSLClientSocket::NextProto next_protocol_;
};
class MockUDPClientSocket : public DatagramClientSocket,
« no previous file with comments | « net/http/http_server_properties.cc ('k') | net/socket/socket_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698