diff options
author | bnc <bnc@chromium.org> | 2016-02-02 07:42:22 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-02 15:43:36 +0000 |
commit | 3f0118e3ef62194270b131e988079b82c0e26b7d (patch) | |
tree | 2b7b0b1f41044ca5d39c43dcbff6337dfe025ffa /ios/chrome/browser/ios_chrome_io_thread.h | |
parent | dbc8b3a47abdf44216021417c0ce2f7b12109898 (diff) | |
download | chromium_src-3f0118e3ef62194270b131e988079b82c0e26b7d.zip chromium_src-3f0118e3ef62194270b131e988079b82c0e26b7d.tar.gz chromium_src-3f0118e3ef62194270b131e988079b82c0e26b7d.tar.bz2 |
Use Boolean members to control HTTP/2 and SPDY/3.1.
Add Boolean members to IOThread::Globals and HttpNetworkSession::Params to
toggle HTTP/2 and SPDY/3.1 support instead of a NextProtoVector. This way
clients do not have to have a notion of NextProto, "next_proto.h" includes
can be removed from lots of files, and NextProto helper functions can be
removed. Also default values are easier to define.
This CL intends to preserve behavior and default values.
BUG=329681
Review URL: https://codereview.chromium.org/1651123002
Cr-Commit-Position: refs/heads/master@{#372951}
Diffstat (limited to 'ios/chrome/browser/ios_chrome_io_thread.h')
-rw-r--r-- | ios/chrome/browser/ios_chrome_io_thread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ios/chrome/browser/ios_chrome_io_thread.h b/ios/chrome/browser/ios_chrome_io_thread.h index 5f0956f..878d28d 100644 --- a/ios/chrome/browser/ios_chrome_io_thread.h +++ b/ios/chrome/browser/ios_chrome_io_thread.h @@ -25,7 +25,6 @@ #include "ios/web/public/web_thread_delegate.h" #include "net/base/network_change_notifier.h" #include "net/http/http_network_session.h" -#include "net/socket/next_proto.h" class PrefProxyConfigTracker; class PrefService; @@ -138,7 +137,8 @@ class IOSChromeIOThread : public web::WebThreadDelegate { Optional<size_t> initial_max_spdy_concurrent_streams; Optional<bool> enable_spdy_compression; Optional<bool> enable_spdy_ping_based_connection_checking; - net::NextProtoVector next_protos; + Optional<bool> enable_spdy31; + Optional<bool> enable_http2; std::set<net::HostPortPair> forced_spdy_exclusions; Optional<bool> parse_alternative_services; Optional<bool> enable_alternative_service_with_different_host; |