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

Unified Diff: net/http/http_network_session_peer.h

Issue 1901533002: Implementation of network level throttler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Destroy transaction before session in QuicUploadWriteError. Created 4 years, 2 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 | « net/http/http_network_session.cc ('k') | net/http/http_network_session_peer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_session_peer.h
diff --git a/net/http/http_network_session_peer.h b/net/http/http_network_session_peer.h
index 8de0bc3f113048f7ba0c607c6c8f1acc6b003913..e162c7e67b119f0bdcd69a79cf2debd02a1ca241 100644
--- a/net/http/http_network_session_peer.h
+++ b/net/http/http_network_session_peer.h
@@ -16,6 +16,7 @@ namespace net {
class ClientSocketPoolManager;
class HttpNetworkSession;
class HttpStreamFactory;
+class NetworkThrottleManager;
class ProxyService;
class NET_EXPORT_PRIVATE HttpNetworkSessionPeer {
@@ -32,6 +33,9 @@ class NET_EXPORT_PRIVATE HttpNetworkSessionPeer {
void SetHttpStreamFactoryForWebSocket(
std::unique_ptr<HttpStreamFactory> http_stream_factory_for_websocket);
+ void SetNetworkStreamThrottler(
+ std::unique_ptr<NetworkThrottleManager> network_throttle_manager);
+
private:
HttpNetworkSession* const session_;
« no previous file with comments | « net/http/http_network_session.cc ('k') | net/http/http_network_session_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698