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

Unified Diff: net/socket/socket_test_util.h

Issue 14813024: Introduce RequestWebSocketStream into HttpStreamFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 7 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/socket/socket_test_util.h
diff --git a/net/socket/socket_test_util.h b/net/socket/socket_test_util.h
index a5077b2cb837c01db9ae856f10d5acee01830bf0..e1676168fe237871a7a8e753f76bb69e37c68373 100644
--- a/net/socket/socket_test_util.h
+++ b/net/socket/socket_test_util.h
@@ -874,6 +874,8 @@ class MockSSLClientSocket : public MockClientSocket, public AsyncSocket {
virtual int GetPeerAddress(IPEndPoint* address) const OVERRIDE;
virtual bool WasNpnNegotiated() const OVERRIDE;
virtual bool GetSSLInfo(SSLInfo* ssl_info) OVERRIDE;
+ virtual bool was_spdy_negotiated() const OVERRIDE;
+ virtual bool set_was_spdy_negotiated(bool negotiated) OVERRIDE;
// SSLClientSocket implementation.
virtual void GetSSLCertRequestInfo(
@@ -902,6 +904,8 @@ class MockSSLClientSocket : public MockClientSocket, public AsyncSocket {
bool is_npn_state_set_;
bool new_npn_value_;
bool is_protocol_negotiated_set_;
+ bool was_spdy_negotiated_;
+ bool was_spdy_negotiated_set_;
NextProto protocol_negotiated_;
};

Powered by Google App Engine
This is Rietveld 408576698