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

Unified Diff: net/http/http_network_session.h

Issue 812543002: Update from https://crrev.com/308331 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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/disk_cache/blockfile/stress_cache.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..c9704a499ece554ae62f76ebbf70ec77092dcdbf 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.
+ 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/disk_cache/blockfile/stress_cache.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698