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

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

Issue 2011983002: Remove |parse_alternative_service| flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 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.cc ('k') | net/http/http_stream_factory.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_STREAM_FACTORY_H_ 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_H_
6 #define NET_HTTP_HTTP_STREAM_FACTORY_H_ 6 #define NET_HTTP_HTTP_STREAM_FACTORY_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 // HttpNetworkSession. 258 // HttpNetworkSession.
259 static void set_spdy_enabled(bool value) { 259 static void set_spdy_enabled(bool value) {
260 spdy_enabled_ = value; 260 spdy_enabled_ = value;
261 } 261 }
262 static bool spdy_enabled() { return spdy_enabled_; } 262 static bool spdy_enabled() { return spdy_enabled_; }
263 263
264 protected: 264 protected:
265 HttpStreamFactory(); 265 HttpStreamFactory();
266 266
267 private: 267 private:
268 void ProcessAlternativeService(
269 const base::WeakPtr<HttpServerProperties>& http_server_properties,
270 base::StringPiece alternative_service_str,
271 const url::SchemeHostPort& http_server,
272 const HttpNetworkSession& session);
273
274 void ProcessAlternateProtocol(
275 const base::WeakPtr<HttpServerProperties>& http_server_properties,
276 const std::vector<std::string>& alternate_protocol_values,
277 const url::SchemeHostPort& http_server,
278 const HttpNetworkSession& session);
279
280 static bool spdy_enabled_; 268 static bool spdy_enabled_;
281 269
282 url::SchemeHostPort RewriteHost(const url::SchemeHostPort& server); 270 url::SchemeHostPort RewriteHost(const url::SchemeHostPort& server);
283 271
284 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactory); 272 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactory);
285 }; 273 };
286 274
287 } // namespace net 275 } // namespace net
288 276
289 #endif // NET_HTTP_HTTP_STREAM_FACTORY_H_ 277 #endif // NET_HTTP_HTTP_STREAM_FACTORY_H_
OLDNEW
« no previous file with comments | « net/http/http_server_properties.cc ('k') | net/http/http_stream_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698