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

Unified Diff: net/http/http_server_properties.h

Issue 895853003: Update from https://crrev.com/314320 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/http/http_network_transaction_unittest.cc ('k') | net/http/http_server_properties_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_server_properties.h
diff --git a/net/http/http_server_properties.h b/net/http/http_server_properties.h
index 79ce33d6d794bd020f4bd1a4ed80e01585d735b4..840a3595d399f986bdc49b7a69cd14ac30f85e8d 100644
--- a/net/http/http_server_properties.h
+++ b/net/http/http_server_properties.h
@@ -86,6 +86,12 @@ NET_EXPORT_PRIVATE AlternateProtocol AlternateProtocolFromNextProto(
NextProto next_proto);
struct NET_EXPORT AlternateProtocolInfo {
+ AlternateProtocolInfo()
+ : port(0),
+ protocol(UNINITIALIZED_ALTERNATE_PROTOCOL),
+ probability(0),
+ is_broken(false) {}
+
AlternateProtocolInfo(uint16 port,
AlternateProtocol protocol,
double probability)
@@ -162,8 +168,9 @@ class NET_EXPORT HttpServerProperties {
// Deletes all data.
virtual void Clear() = 0;
- // Returns true if |server| supports SPDY.
- virtual bool SupportsSpdy(const HostPortPair& server) = 0;
+ // Returns true if |server| supports a network protocol which honors
+ // request prioritization.
+ virtual bool SupportsRequestPriority(const HostPortPair& server) = 0;
// Add |server| into the persistent store. Should only be called from IO
// thread.
« no previous file with comments | « net/http/http_network_transaction_unittest.cc ('k') | net/http/http_server_properties_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698