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

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 compile in components Created 3 years, 6 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 (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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 bool SupportsRequestPriority(const url::SchemeHostPort& server) override; 77 bool SupportsRequestPriority(const url::SchemeHostPort& server) override;
78 bool GetSupportsSpdy(const url::SchemeHostPort& server) override; 78 bool GetSupportsSpdy(const url::SchemeHostPort& server) override;
79 void SetSupportsSpdy(const url::SchemeHostPort& server, 79 void SetSupportsSpdy(const url::SchemeHostPort& server,
80 bool support_spdy) override; 80 bool support_spdy) override;
81 bool RequiresHTTP11(const HostPortPair& server) override; 81 bool RequiresHTTP11(const HostPortPair& server) override;
82 void SetHTTP11Required(const HostPortPair& server) override; 82 void SetHTTP11Required(const HostPortPair& server) override;
83 void MaybeForceHTTP11(const HostPortPair& server, 83 void MaybeForceHTTP11(const HostPortPair& server,
84 SSLConfig* ssl_config) override; 84 SSLConfig* ssl_config) override;
85 AlternativeServiceInfoVector GetAlternativeServiceInfos( 85 AlternativeServiceInfoVector GetAlternativeServiceInfos(
86 const url::SchemeHostPort& origin) override; 86 const url::SchemeHostPort& origin) override;
87 bool SetAlternativeService(const url::SchemeHostPort& origin, 87 bool SetAlternativeService(
88 const AlternativeService& alternative_service, 88 const url::SchemeHostPort& origin,
89 base::Time expiration) override; 89 const AlternativeService& alternative_service,
90 base::Time expiration,
91 const QuicVersionVector& advertised_versions) override;
90 bool SetAlternativeServices(const url::SchemeHostPort& origin, 92 bool SetAlternativeServices(const url::SchemeHostPort& origin,
91 const AlternativeServiceInfoVector& 93 const AlternativeServiceInfoVector&
92 alternative_service_info_vector) override; 94 alternative_service_info_vector) override;
93 void MarkAlternativeServiceBroken( 95 void MarkAlternativeServiceBroken(
94 const AlternativeService& alternative_service) override; 96 const AlternativeService& alternative_service) override;
95 void MarkAlternativeServiceRecentlyBroken( 97 void MarkAlternativeServiceRecentlyBroken(
96 const AlternativeService& alternative_service) override; 98 const AlternativeService& alternative_service) override;
97 bool IsAlternativeServiceBroken( 99 bool IsAlternativeServiceBroken(
98 const AlternativeService& alternative_service) const override; 100 const AlternativeService& alternative_service) const override;
99 bool WasAlternativeServiceRecentlyBroken( 101 bool WasAlternativeServiceRecentlyBroken(
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 size_t max_server_configs_stored_in_properties_; 171 size_t max_server_configs_stored_in_properties_;
170 172
171 THREAD_CHECKER(thread_checker_); 173 THREAD_CHECKER(thread_checker_);
172 174
173 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); 175 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl);
174 }; 176 };
175 177
176 } // namespace net 178 } // namespace net
177 179
178 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ 180 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698