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

Side by Side Diff: net/http/http_server_properties_impl.h

Issue 893693002: Fix bug where requests to QUIC servers were throttled by the resource scheduler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comments Created 5 years, 10 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 unified diff | Download patch
« no previous file with comments | « net/http/http_server_properties.h ('k') | net/http/http_server_properties_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ 5 #ifndef NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_
6 #define NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ 6 #define NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 // Returns the canonical host suffix for |server|, or std::string() if none 66 // Returns the canonical host suffix for |server|, or std::string() if none
67 // exists. 67 // exists.
68 std::string GetCanonicalSuffix(const HostPortPair& server); 68 std::string GetCanonicalSuffix(const HostPortPair& server);
69 69
70 // ----------------------------- 70 // -----------------------------
71 // HttpServerProperties methods: 71 // HttpServerProperties methods:
72 // ----------------------------- 72 // -----------------------------
73 73
74 base::WeakPtr<HttpServerProperties> GetWeakPtr() override; 74 base::WeakPtr<HttpServerProperties> GetWeakPtr() override;
75 void Clear() override; 75 void Clear() override;
76 bool SupportsSpdy(const HostPortPair& server) override; 76 bool SupportsRequestPriority(const HostPortPair& server) override;
77 void SetSupportsSpdy(const HostPortPair& server, bool support_spdy) override; 77 void SetSupportsSpdy(const HostPortPair& server, bool support_spdy) override;
78 bool RequiresHTTP11(const HostPortPair& server) override; 78 bool RequiresHTTP11(const HostPortPair& server) override;
79 void SetHTTP11Required(const HostPortPair& server) override; 79 void SetHTTP11Required(const HostPortPair& server) override;
80 void MaybeForceHTTP11(const HostPortPair& server, 80 void MaybeForceHTTP11(const HostPortPair& server,
81 SSLConfig* ssl_config) override; 81 SSLConfig* ssl_config) override;
82 bool HasAlternateProtocol(const HostPortPair& server) override; 82 bool HasAlternateProtocol(const HostPortPair& server) override;
83 AlternateProtocolInfo GetAlternateProtocol( 83 AlternateProtocolInfo GetAlternateProtocol(
84 const HostPortPair& server) override; 84 const HostPortPair& server) override;
85 void SetAlternateProtocol(const HostPortPair& server, 85 void SetAlternateProtocol(const HostPortPair& server,
86 uint16 alternate_port, 86 uint16 alternate_port,
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 double alternate_protocol_probability_threshold_; 163 double alternate_protocol_probability_threshold_;
164 164
165 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_; 165 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_;
166 166
167 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); 167 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl);
168 }; 168 };
169 169
170 } // namespace net 170 } // namespace net
171 171
172 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ 172 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_
OLDNEW
« no previous file with comments | « net/http/http_server_properties.h ('k') | net/http/http_server_properties_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698