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

Side by Side Diff: net/spdy/spdy_http_utils.h

Issue 304353012: Introduce STATE_RESERVED_REMOTE. No behavioral changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android build. More robust expectation Created 6 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 | « no previous file | net/spdy/spdy_network_transaction_unittest.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_SPDY_SPDY_HTTP_UTILS_H_ 5 #ifndef NET_SPDY_SPDY_HTTP_UTILS_H_
6 #define NET_SPDY_SPDY_HTTP_UTILS_H_ 6 #define NET_SPDY_SPDY_HTTP_UTILS_H_
7 7
8 #include "net/base/net_export.h" 8 #include "net/base/net_export.h"
9 #include "net/base/request_priority.h" 9 #include "net/base/request_priority.h"
10 #include "net/spdy/spdy_framer.h" 10 #include "net/spdy/spdy_framer.h"
(...skipping 20 matching lines...) Expand all
31 // HttpRequestInfo and HttpRequestHeaders. 31 // HttpRequestInfo and HttpRequestHeaders.
32 void NET_EXPORT_PRIVATE CreateSpdyHeadersFromHttpRequest( 32 void NET_EXPORT_PRIVATE CreateSpdyHeadersFromHttpRequest(
33 const HttpRequestInfo& info, 33 const HttpRequestInfo& info,
34 const HttpRequestHeaders& request_headers, 34 const HttpRequestHeaders& request_headers,
35 SpdyHeaderBlock* headers, 35 SpdyHeaderBlock* headers,
36 SpdyMajorVersion protocol_version, 36 SpdyMajorVersion protocol_version,
37 bool direct); 37 bool direct);
38 38
39 // Returns the URL associated with the |headers| by assembling the 39 // Returns the URL associated with the |headers| by assembling the
40 // scheme, host and path from the protocol specific keys. 40 // scheme, host and path from the protocol specific keys.
41 GURL GetUrlFromHeaderBlock(const SpdyHeaderBlock& headers, 41 NET_EXPORT_PRIVATE GURL GetUrlFromHeaderBlock(const SpdyHeaderBlock& headers,
42 SpdyMajorVersion protocol_version, 42 SpdyMajorVersion protocol_version,
43 bool pushed); 43 bool pushed);
44 44
45 NET_EXPORT_PRIVATE SpdyPriority ConvertRequestPriorityToSpdyPriority( 45 NET_EXPORT_PRIVATE SpdyPriority ConvertRequestPriorityToSpdyPriority(
46 RequestPriority priority, 46 RequestPriority priority,
47 SpdyMajorVersion protocol_version); 47 SpdyMajorVersion protocol_version);
48 48
49 NET_EXPORT_PRIVATE RequestPriority ConvertSpdyPriorityToRequestPriority( 49 NET_EXPORT_PRIVATE RequestPriority ConvertSpdyPriorityToRequestPriority(
50 SpdyPriority priority, 50 SpdyPriority priority,
51 SpdyMajorVersion protocol_version); 51 SpdyMajorVersion protocol_version);
52 52
53 } // namespace net 53 } // namespace net
54 54
55 #endif // NET_SPDY_SPDY_HTTP_UTILS_H_ 55 #endif // NET_SPDY_SPDY_HTTP_UTILS_H_
OLDNEW
« no previous file with comments | « no previous file | net/spdy/spdy_network_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698