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

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

Issue 1159853005: HttpServerProperties - Don't persist if SetSupportsSpdy is called with (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@persist_SET_SERVER_NETWORK_STATS
Patch Set: Minor cleanup Created 5 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
« no previous file with comments | « net/http/http_server_properties.h ('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 <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 // exists. 74 // exists.
75 std::string GetCanonicalSuffix(const std::string& host); 75 std::string GetCanonicalSuffix(const std::string& host);
76 76
77 // ----------------------------- 77 // -----------------------------
78 // HttpServerProperties methods: 78 // HttpServerProperties methods:
79 // ----------------------------- 79 // -----------------------------
80 80
81 base::WeakPtr<HttpServerProperties> GetWeakPtr() override; 81 base::WeakPtr<HttpServerProperties> GetWeakPtr() override;
82 void Clear() override; 82 void Clear() override;
83 bool SupportsRequestPriority(const HostPortPair& server) override; 83 bool SupportsRequestPriority(const HostPortPair& server) override;
84 bool GetSupportsSpdy(const HostPortPair& server) override;
84 void SetSupportsSpdy(const HostPortPair& server, bool support_spdy) override; 85 void SetSupportsSpdy(const HostPortPair& server, bool support_spdy) override;
85 bool RequiresHTTP11(const HostPortPair& server) override; 86 bool RequiresHTTP11(const HostPortPair& server) override;
86 void SetHTTP11Required(const HostPortPair& server) override; 87 void SetHTTP11Required(const HostPortPair& server) override;
87 void MaybeForceHTTP11(const HostPortPair& server, 88 void MaybeForceHTTP11(const HostPortPair& server,
88 SSLConfig* ssl_config) override; 89 SSLConfig* ssl_config) override;
89 AlternativeService GetAlternativeService(const HostPortPair& origin) override; 90 AlternativeService GetAlternativeService(const HostPortPair& origin) override;
90 void SetAlternativeService(const HostPortPair& origin, 91 void SetAlternativeService(const HostPortPair& origin,
91 const AlternativeService& alternative_service, 92 const AlternativeService& alternative_service,
92 double alternative_probability) override; 93 double alternative_probability) override;
93 void MarkAlternativeServiceBroken( 94 void MarkAlternativeServiceBroken(
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 double alternative_service_probability_threshold_; 174 double alternative_service_probability_threshold_;
174 175
175 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_; 176 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_;
176 177
177 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); 178 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl);
178 }; 179 };
179 180
180 } // namespace net 181 } // namespace net
181 182
182 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ 183 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_
OLDNEW
« no previous file with comments | « net/http/http_server_properties.h ('k') | net/http/http_server_properties_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698