Chromium Code Reviews| 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_; |