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

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

Issue 2886273002: Change GetAlternativeServies to return alternative service infos. (Closed)
Patch Set: address comments in ps #3 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 118
119 void Clear() override; 119 void Clear() override;
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 AlternativeServiceVector GetAlternativeServices( 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(const url::SchemeHostPort& origin,
131 const AlternativeService& alternative_service, 131 const AlternativeService& alternative_service,
132 base::Time expiration) override; 132 base::Time expiration) override;
133 bool SetAlternativeServices(const url::SchemeHostPort& origin, 133 bool SetAlternativeServices(const url::SchemeHostPort& origin,
134 const AlternativeServiceInfoVector& 134 const AlternativeServiceInfoVector&
135 alternative_service_info_vector) override; 135 alternative_service_info_vector) override;
136 void MarkAlternativeServiceBroken( 136 void MarkAlternativeServiceBroken(
137 const AlternativeService& alternative_service) override; 137 const AlternativeService& alternative_service) override;
138 void MarkAlternativeServiceRecentlyBroken( 138 void MarkAlternativeServiceRecentlyBroken(
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 // Used to get |weak_ptr_| to self on the network thread. 320 // Used to get |weak_ptr_| to self on the network thread.
321 std::unique_ptr<base::WeakPtrFactory<HttpServerPropertiesManager>> 321 std::unique_ptr<base::WeakPtrFactory<HttpServerPropertiesManager>>
322 network_weak_ptr_factory_; 322 network_weak_ptr_factory_;
323 323
324 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager); 324 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager);
325 }; 325 };
326 326
327 } // namespace net 327 } // namespace net
328 328
329 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ 329 #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