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

Unified Diff: net/spdy/spdy_network_transaction_spdy21_unittest.cc

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/spdy/spdy_http_stream_spdy3_unittest.cc ('k') | net/spdy/spdy_network_transaction_spdy2_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_network_transaction_spdy21_unittest.cc
diff --git a/net/spdy/spdy_network_transaction_spdy21_unittest.cc b/net/spdy/spdy_network_transaction_spdy21_unittest.cc
index de850fbf925704ea8d0a238a5faf4cb186bfbbf6..16918fe6ae1539b76664e3af06b5323a961ca872 100644
--- a/net/spdy/spdy_network_transaction_spdy21_unittest.cc
+++ b/net/spdy/spdy_network_transaction_spdy21_unittest.cc
@@ -39,7 +39,7 @@ class SpdyNetworkTransactionSpdy21Test
protected:
virtual void SetUp() {
- SpdySession::set_default_protocol(SSLClientSocket::kProtoSPDY21);
+ SpdySession::set_default_protocol(kProtoSPDY21);
google_get_request_initialized_ = false;
google_post_request_initialized_ = false;
google_chunked_post_request_initialized_ = false;
@@ -231,7 +231,7 @@ class SpdyNetworkTransactionSpdy21Test
linked_ptr<SSLSocketDataProvider> ssl_(
new SSLSocketDataProvider(ASYNC, OK));
if (test_type_ == SPDYNPN) {
- ssl_->SetNextProto(SSLClientSocket::kProtoSPDY21);
+ ssl_->SetNextProto(kProtoSPDY21);
}
ssl_vector_.push_back(ssl_);
if (test_type_ == SPDYNPN || test_type_ == SPDYSSL)
@@ -256,7 +256,7 @@ class SpdyNetworkTransactionSpdy21Test
linked_ptr<SSLSocketDataProvider> ssl_(
new SSLSocketDataProvider(ASYNC, OK));
if (test_type_ == SPDYNPN) {
- ssl_->SetNextProto(SSLClientSocket::kProtoSPDY21);
+ ssl_->SetNextProto(kProtoSPDY21);
}
ssl_vector_.push_back(ssl_);
if (test_type_ == SPDYNPN || test_type_ == SPDYSSL) {
« no previous file with comments | « net/spdy/spdy_http_stream_spdy3_unittest.cc ('k') | net/spdy/spdy_network_transaction_spdy2_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698