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

Side by Side Diff: net/http/http_server_properties_manager.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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_MANAGER_H_ 5 #ifndef NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_
6 #define NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ 6 #define NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 // Deletes all data. Works asynchronously, but if a |completion| callback is 73 // Deletes all data. Works asynchronously, but if a |completion| callback is
74 // provided, it will be fired on the pref thread when everything is done. 74 // provided, it will be fired on the pref thread when everything is done.
75 void Clear(const base::Closure& completion); 75 void Clear(const base::Closure& completion);
76 76
77 // ---------------------------------- 77 // ----------------------------------
78 // HttpServerProperties methods: 78 // HttpServerProperties methods:
79 // ---------------------------------- 79 // ----------------------------------
80 80
81 base::WeakPtr<HttpServerProperties> GetWeakPtr() override; 81 base::WeakPtr<HttpServerProperties> GetWeakPtr() override;
82 void Clear() override; 82 void Clear() override;
83 bool SupportsSpdy(const HostPortPair& server) override; 83 bool SupportsRequestPriority(const HostPortPair& server) override;
84 void SetSupportsSpdy(const HostPortPair& server, bool support_spdy) override; 84 void SetSupportsSpdy(const HostPortPair& server, bool support_spdy) override;
85 bool RequiresHTTP11(const HostPortPair& server) override; 85 bool RequiresHTTP11(const HostPortPair& server) override;
86 void SetHTTP11Required(const HostPortPair& server) override; 86 void SetHTTP11Required(const HostPortPair& server) override;
87 void MaybeForceHTTP11(const HostPortPair& server, 87 void MaybeForceHTTP11(const HostPortPair& server,
88 SSLConfig* ssl_config) override; 88 SSLConfig* ssl_config) override;
89 bool HasAlternateProtocol(const HostPortPair& server) override; 89 bool HasAlternateProtocol(const HostPortPair& server) override;
90 AlternateProtocolInfo GetAlternateProtocol( 90 AlternateProtocolInfo GetAlternateProtocol(
91 const HostPortPair& server) override; 91 const HostPortPair& server) override;
92 void SetAlternateProtocol(const HostPortPair& server, 92 void SetAlternateProtocol(const HostPortPair& server,
93 uint16 alternate_port, 93 uint16 alternate_port,
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 // Used to get |weak_ptr_| to self on the network thread. 218 // Used to get |weak_ptr_| to self on the network thread.
219 scoped_ptr<base::WeakPtrFactory<HttpServerPropertiesManager> > 219 scoped_ptr<base::WeakPtrFactory<HttpServerPropertiesManager> >
220 network_weak_ptr_factory_; 220 network_weak_ptr_factory_;
221 221
222 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager); 222 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager);
223 }; 223 };
224 224
225 } // namespace net 225 } // namespace net
226 226
227 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ 227 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_
OLDNEW
« no previous file with comments | « net/http/http_server_properties_impl_unittest.cc ('k') | net/http/http_server_properties_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698