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

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: Remove braces around one line if statements. 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
« no previous file with comments | « net/base/net_log_util.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..e837713c59b6536d9bd7cd768c93cacecec0434a 100644
--- a/net/http/http_network_session.h
+++ b/net/http/http_network_session.h
@@ -205,7 +205,8 @@ class NET_EXPORT HttpNetworkSession
bool IsProtocolEnabled(AlternateProtocol protocol) const;
- void GetNextProtos(std::vector<std::string>* next_protos) const;
+ // Populates *next_protos with protocols.
Ryan Hamilton 2014/12/10 22:12:40 nit: put ||s around the name of the parameter.
Bence 2014/12/11 12:25:09 Done.
+ void GetNextProtos(NextProtoVector* next_protos) const;
// Convenience function for searching through |params_| for
// |forced_spdy_exclusions|.
@@ -242,7 +243,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_;
« no previous file with comments | « net/base/net_log_util.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698