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

Unified Diff: net/http/http_network_session.h

Issue 243153003: HPACK optimal Huffman code instrumentation and UMA collection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review feedback & missing license header. Created 6 years, 8 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 | « no previous file | 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 ac014874f1dcc066e312b24a792cee340ec7d432..fd34dadc943d4fac5657b940e33a572d17bddd2f 100644
--- a/net/http/http_network_session.h
+++ b/net/http/http_network_session.h
@@ -31,6 +31,7 @@ class CertVerifier;
class ClientSocketFactory;
class ClientSocketPoolManager;
class HostResolver;
+class HpackHuffmanAggregator;
class HttpAuthHandlerFactory;
class HttpNetworkSessionPeer;
class HttpProxyClientSocketPool;
@@ -152,6 +153,9 @@ class NET_EXPORT HttpNetworkSession
NetLog* net_log() {
return net_log_;
}
+ HpackHuffmanAggregator* huffman_aggregator() {
+ return huffman_aggregator_.get();
+ }
// Creates a Value summary of the state of the socket pools. The caller is
// responsible for deleting the returned value.
@@ -206,6 +210,9 @@ class NET_EXPORT HttpNetworkSession
scoped_ptr<HttpStreamFactory> http_stream_factory_for_websocket_;
std::set<HttpResponseBodyDrainer*> response_drainers_;
+ // TODO(jgraettinger): Remove when Huffman collection is complete.
+ scoped_ptr<HpackHuffmanAggregator> huffman_aggregator_;
+
Params params_;
};
« no previous file with comments | « no previous file | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698