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

Unified Diff: net/spdy/spdy_session_pool.h

Issue 2600973002: Implement HTTP/2 settings field trial parameters. (Closed)
Patch Set: Created 4 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
Index: net/spdy/spdy_session_pool.h
diff --git a/net/spdy/spdy_session_pool.h b/net/spdy/spdy_session_pool.h
index 940cde636fbcdb22bd1276a22f2982bdd7e30a67..f7fac6fe283d34e9b7fe666f0c4288bb29c81f06 100644
--- a/net/spdy/spdy_session_pool.h
+++ b/net/spdy/spdy_session_pool.h
@@ -8,6 +8,7 @@
#include <stddef.h>
#include <map>
+#include <memory>
#include <set>
#include <string>
#include <vector>
@@ -24,6 +25,7 @@
#include "net/proxy/proxy_config.h"
#include "net/proxy/proxy_server.h"
#include "net/spdy/server_push_delegate.h"
+#include "net/spdy/spdy_protocol.h"
#include "net/spdy/spdy_session_key.h"
#include "net/ssl/ssl_config_service.h"
@@ -57,7 +59,7 @@ class NET_EXPORT SpdySessionPool
TransportSecurityState* transport_security_state,
bool enable_ping_based_connection_checking,
size_t session_max_recv_window_size,
- size_t stream_max_recv_window_size,
+ const SettingsMap& settings,
SpdySessionPool::TimeFunc time_func,
ProxyDelegate* proxy_delegate);
~SpdySessionPool() override;
@@ -229,7 +231,7 @@ class NET_EXPORT SpdySessionPool
bool enable_sending_initial_data_;
bool enable_ping_based_connection_checking_;
size_t session_max_recv_window_size_;
- size_t stream_max_recv_window_size_;
+ const SettingsMap settings_;
Ryan Hamilton 2016/12/27 22:32:43 nit: comment
Bence 2016/12/28 00:53:24 Done.
TimeFunc time_func_;
ServerPushDelegate* push_delegate_;

Powered by Google App Engine
This is Rietveld 408576698