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

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

Issue 2901093004: Add and persist a new field in AlternativeServiceInfo to list QUIC verisons advertised (Closed)
Patch Set: self review Created 3 years, 7 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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 bool SupportsRequestPriority(const url::SchemeHostPort& server) override; 120 bool SupportsRequestPriority(const url::SchemeHostPort& server) override;
121 bool GetSupportsSpdy(const url::SchemeHostPort& server) override; 121 bool GetSupportsSpdy(const url::SchemeHostPort& server) override;
122 void SetSupportsSpdy(const url::SchemeHostPort& server, 122 void SetSupportsSpdy(const url::SchemeHostPort& server,
123 bool support_spdy) override; 123 bool support_spdy) override;
124 bool RequiresHTTP11(const HostPortPair& server) override; 124 bool RequiresHTTP11(const HostPortPair& server) override;
125 void SetHTTP11Required(const HostPortPair& server) override; 125 void SetHTTP11Required(const HostPortPair& server) override;
126 void MaybeForceHTTP11(const HostPortPair& server, 126 void MaybeForceHTTP11(const HostPortPair& server,
127 SSLConfig* ssl_config) override; 127 SSLConfig* ssl_config) override;
128 AlternativeServiceInfoVector GetAlternativeServiceInfos( 128 AlternativeServiceInfoVector GetAlternativeServiceInfos(
129 const url::SchemeHostPort& origin) override; 129 const url::SchemeHostPort& origin) override;
130 bool SetAlternativeService(const url::SchemeHostPort& origin, 130 bool SetAlternativeService(
131 const AlternativeService& alternative_service, 131 const url::SchemeHostPort& origin,
132 base::Time expiration) override; 132 const AlternativeService& alternative_service,
133 base::Time expiration,
134 const QuicVersionVector& advertised_versions) override;
133 bool SetAlternativeServices(const url::SchemeHostPort& origin, 135 bool SetAlternativeServices(const url::SchemeHostPort& origin,
134 const AlternativeServiceInfoVector& 136 const AlternativeServiceInfoVector&
135 alternative_service_info_vector) override; 137 alternative_service_info_vector) override;
136 void MarkAlternativeServiceBroken( 138 void MarkAlternativeServiceBroken(
137 const AlternativeService& alternative_service) override; 139 const AlternativeService& alternative_service) override;
138 void MarkAlternativeServiceRecentlyBroken( 140 void MarkAlternativeServiceRecentlyBroken(
139 const AlternativeService& alternative_service) override; 141 const AlternativeService& alternative_service) override;
140 bool IsAlternativeServiceBroken( 142 bool IsAlternativeServiceBroken(
141 const AlternativeService& alternative_service) const override; 143 const AlternativeService& alternative_service) const override;
142 bool WasAlternativeServiceRecentlyBroken( 144 bool WasAlternativeServiceRecentlyBroken(
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 // Used to get |weak_ptr_| to self on the network thread. 322 // Used to get |weak_ptr_| to self on the network thread.
321 std::unique_ptr<base::WeakPtrFactory<HttpServerPropertiesManager>> 323 std::unique_ptr<base::WeakPtrFactory<HttpServerPropertiesManager>>
322 network_weak_ptr_factory_; 324 network_weak_ptr_factory_;
323 325
324 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager); 326 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager);
325 }; 327 };
326 328
327 } // namespace net 329 } // namespace net
328 330
329 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ 331 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698