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

Unified Diff: net/http/http_network_session.h

Issue 794563003: Change next_proto member type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix type in callback. Created 6 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
Index: net/http/http_network_session.h
diff --git a/net/http/http_network_session.h b/net/http/http_network_session.h
index bf93c832094f16a47c87711e1753f6d94d0bb45e..a74cbb09bdcb844fcd6ebb5495330ff7f4c3ebae 100644
--- a/net/http/http_network_session.h
+++ b/net/http/http_network_session.h
@@ -205,7 +205,7 @@ class NET_EXPORT HttpNetworkSession
bool IsProtocolEnabled(AlternateProtocol protocol) const;
- void GetNextProtos(std::vector<std::string>* next_protos) const;
+ void GetNextProtos(NextProtoVector* next_protos) const;
Ryan Hamilton 2014/12/10 20:09:00 nit: Can you add a comment which explains that thi
Bence 2014/12/10 22:01:23 Done.
// Convenience function for searching through |params_| for
// |forced_spdy_exclusions|.
@@ -242,7 +242,7 @@ class NET_EXPORT HttpNetworkSession
// TODO(jgraettinger): Remove when Huffman collection is complete.
scoped_ptr<HpackHuffmanAggregator> huffman_aggregator_;
- std::vector<std::string> next_protos_;
+ NextProtoVector next_protos_;
bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
Params params_;

Powered by Google App Engine
This is Rietveld 408576698