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

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: self review 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 bool SupportsRequestPriority(const url::SchemeHostPort& server) override; 79 bool SupportsRequestPriority(const url::SchemeHostPort& server) override;
80 bool GetSupportsSpdy(const url::SchemeHostPort& server) override; 80 bool GetSupportsSpdy(const url::SchemeHostPort& server) override;
81 void SetSupportsSpdy(const url::SchemeHostPort& server, 81 void SetSupportsSpdy(const url::SchemeHostPort& server,
82 bool support_spdy) override; 82 bool support_spdy) override;
83 bool RequiresHTTP11(const HostPortPair& server) override; 83 bool RequiresHTTP11(const HostPortPair& server) override;
84 void SetHTTP11Required(const HostPortPair& server) override; 84 void SetHTTP11Required(const HostPortPair& server) override;
85 void MaybeForceHTTP11(const HostPortPair& server, 85 void MaybeForceHTTP11(const HostPortPair& server,
86 SSLConfig* ssl_config) override; 86 SSLConfig* ssl_config) override;
87 AlternativeServiceInfoVector GetAlternativeServiceInfos( 87 AlternativeServiceInfoVector GetAlternativeServiceInfos(
88 const url::SchemeHostPort& origin) override; 88 const url::SchemeHostPort& origin) override;
89 bool SetAlternativeService(const url::SchemeHostPort& origin, 89 bool SetAlternativeService(
90 const AlternativeService& alternative_service, 90 const url::SchemeHostPort& origin,
91 base::Time expiration) override; 91 const AlternativeService& alternative_service,
92 base::Time expiration,
93 const QuicVersionVector& advertised_versions) override;
92 bool SetAlternativeServices(const url::SchemeHostPort& origin, 94 bool SetAlternativeServices(const url::SchemeHostPort& origin,
93 const AlternativeServiceInfoVector& 95 const AlternativeServiceInfoVector&
94 alternative_service_info_vector) override; 96 alternative_service_info_vector) override;
95 void MarkAlternativeServiceBroken( 97 void MarkAlternativeServiceBroken(
96 const AlternativeService& alternative_service) override; 98 const AlternativeService& alternative_service) override;
97 void MarkAlternativeServiceRecentlyBroken( 99 void MarkAlternativeServiceRecentlyBroken(
98 const AlternativeService& alternative_service) override; 100 const AlternativeService& alternative_service) override;
99 bool IsAlternativeServiceBroken( 101 bool IsAlternativeServiceBroken(
100 const AlternativeService& alternative_service) const override; 102 const AlternativeService& alternative_service) const override;
101 bool WasAlternativeServiceRecentlyBroken( 103 bool WasAlternativeServiceRecentlyBroken(
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 size_t max_server_configs_stored_in_properties_; 178 size_t max_server_configs_stored_in_properties_;
177 179
178 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_; 180 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_;
179 181
180 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); 182 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl);
181 }; 183 };
182 184
183 } // namespace net 185 } // namespace net
184 186
185 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ 187 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698