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

Unified Diff: net/socket/socket_test_util.h

Issue 9959033: Move NextProto enum to a new file net/socket/next_proto.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address wtc's comments Created 8 years, 9 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/socket/next_proto.h ('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
diff --git a/net/socket/socket_test_util.h b/net/socket/socket_test_util.h
index f678614f5625f57b6caef274ef3ca76e1d7879c4..dbac707cb75edc48c67d495db0af89c8874870fa 100644
--- a/net/socket/socket_test_util.h
+++ b/net/socket/socket_test_util.h
@@ -269,14 +269,14 @@ struct SSLSocketDataProvider {
SSLSocketDataProvider(IoMode mode, int result);
~SSLSocketDataProvider();
- void SetNextProto(SSLClientSocket::NextProto proto);
+ void SetNextProto(NextProto proto);
MockConnect connect;
SSLClientSocket::NextProtoStatus next_proto_status;
std::string next_proto;
std::string server_protos;
bool was_npn_negotiated;
- SSLClientSocket::NextProto protocol_negotiated;
+ NextProto protocol_negotiated;
bool client_cert_sent;
SSLCertRequestInfo* cert_request_info;
scoped_refptr<X509Certificate> cert;
@@ -750,9 +750,9 @@ class MockSSLClientSocket : public MockClientSocket, public AsyncSocket {
std::string* server_protos) OVERRIDE;
virtual bool was_npn_negotiated() const OVERRIDE;
virtual bool set_was_npn_negotiated(bool negotiated) OVERRIDE;
- virtual SSLClientSocket::NextProto protocol_negotiated() const OVERRIDE;
+ virtual NextProto protocol_negotiated() const OVERRIDE;
virtual void set_protocol_negotiated(
- SSLClientSocket::NextProto protocol_negotiated) OVERRIDE;
+ NextProto protocol_negotiated) OVERRIDE;
// This MockSocket does not implement the manual async IO feature.
virtual void OnReadComplete(const MockRead& data) OVERRIDE;
@@ -774,7 +774,7 @@ class MockSSLClientSocket : public MockClientSocket, public AsyncSocket {
bool new_npn_value_;
bool was_used_to_convey_data_;
bool is_protocol_negotiated_set_;
- SSLClientSocket::NextProto protocol_negotiated_;
+ NextProto protocol_negotiated_;
};
class MockUDPClientSocket : public DatagramClientSocket,
« no previous file with comments | « net/socket/next_proto.h ('k') | net/socket/socket_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698