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

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

Issue 2901093004: Add and persist a new field in AlternativeServiceInfo to list QUIC verisons advertised (Closed)
Patch Set: fix Canonical test Created 3 years, 5 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.cc ('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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 bool SupportsRequestPriority(const url::SchemeHostPort& server) override; 74 bool SupportsRequestPriority(const url::SchemeHostPort& server) override;
75 bool GetSupportsSpdy(const url::SchemeHostPort& server) override; 75 bool GetSupportsSpdy(const url::SchemeHostPort& server) override;
76 void SetSupportsSpdy(const url::SchemeHostPort& server, 76 void SetSupportsSpdy(const url::SchemeHostPort& server,
77 bool support_spdy) override; 77 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 AlternativeServiceInfoVector GetAlternativeServiceInfos( 82 AlternativeServiceInfoVector GetAlternativeServiceInfos(
83 const url::SchemeHostPort& origin) override; 83 const url::SchemeHostPort& origin) override;
84 bool SetAlternativeService(const url::SchemeHostPort& origin, 84 bool SetHttp2AlternativeService(const url::SchemeHostPort& origin,
85 const AlternativeService& alternative_service, 85 const AlternativeService& alternative_service,
86 base::Time expiration) override; 86 base::Time expiration) override;
87 bool SetQuicAlternativeService(
88 const url::SchemeHostPort& origin,
89 const AlternativeService& alternative_service,
90 base::Time expiration,
91 const QuicVersionVector& advertised_versions) override;
87 bool SetAlternativeServices(const url::SchemeHostPort& origin, 92 bool SetAlternativeServices(const url::SchemeHostPort& origin,
88 const AlternativeServiceInfoVector& 93 const AlternativeServiceInfoVector&
89 alternative_service_info_vector) override; 94 alternative_service_info_vector) override;
90 void MarkAlternativeServiceBroken( 95 void MarkAlternativeServiceBroken(
91 const AlternativeService& alternative_service) override; 96 const AlternativeService& alternative_service) override;
92 void MarkAlternativeServiceRecentlyBroken( 97 void MarkAlternativeServiceRecentlyBroken(
93 const AlternativeService& alternative_service) override; 98 const AlternativeService& alternative_service) override;
94 bool IsAlternativeServiceBroken( 99 bool IsAlternativeServiceBroken(
95 const AlternativeService& alternative_service) const override; 100 const AlternativeService& alternative_service) const override;
96 bool WasAlternativeServiceRecentlyBroken( 101 bool WasAlternativeServiceRecentlyBroken(
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 size_t max_server_configs_stored_in_properties_; 168 size_t max_server_configs_stored_in_properties_;
164 169
165 THREAD_CHECKER(thread_checker_); 170 THREAD_CHECKER(thread_checker_);
166 171
167 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); 172 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl);
168 }; 173 };
169 174
170 } // namespace net 175 } // namespace net
171 176
172 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ 177 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_
OLDNEW
« no previous file with comments | « net/http/http_server_properties.cc ('k') | net/http/http_server_properties_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698