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

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

Issue 12989038: [SPDY] Remove some setters in SpdyStream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed DISALLOW_COPY_AND_ASSIGN again Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | net/spdy/spdy_http_utils.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 "googleurl/src/gurl.h" 8 #include "googleurl/src/gurl.h"
9 #include "net/base/net_export.h" 9 #include "net/base/net_export.h"
10 #include "net/base/request_priority.h" 10 #include "net/base/request_priority.h"
11 #include "net/spdy/spdy_framer.h" 11 #include "net/spdy/spdy_framer.h"
12 #include "net/spdy/spdy_header_block.h" 12 #include "net/spdy/spdy_header_block.h"
13 #include "net/spdy/spdy_protocol.h"
13 14
14 namespace net { 15 namespace net {
15 16
16 class HttpResponseInfo; 17 class HttpResponseInfo;
17 struct HttpRequestInfo; 18 struct HttpRequestInfo;
18 class HttpRequestHeaders; 19 class HttpRequestHeaders;
19 20
20 // Convert a SpdyHeaderBlock into an HttpResponseInfo. 21 // Convert a SpdyHeaderBlock into an HttpResponseInfo.
21 // |headers| input parameter with the SpdyHeaderBlock. 22 // |headers| input parameter with the SpdyHeaderBlock.
22 // |response| output parameter for the HttpResponseInfo. 23 // |response| output parameter for the HttpResponseInfo.
(...skipping 19 matching lines...) Expand all
42 bool pushed); 43 bool pushed);
43 44
44 // Returns true if the value of this header should be displayed. 45 // Returns true if the value of this header should be displayed.
45 NET_EXPORT_PRIVATE bool ShouldShowHttpHeaderValue( 46 NET_EXPORT_PRIVATE bool ShouldShowHttpHeaderValue(
46 const std::string& header_name); 47 const std::string& header_name);
47 48
48 NET_EXPORT_PRIVATE SpdyPriority ConvertRequestPriorityToSpdyPriority( 49 NET_EXPORT_PRIVATE SpdyPriority ConvertRequestPriorityToSpdyPriority(
49 RequestPriority priority, 50 RequestPriority priority,
50 int protocol_version); 51 int protocol_version);
51 52
53 NET_EXPORT_PRIVATE RequestPriority ConvertSpdyPriorityToRequestPriority(
54 SpdyPriority priority,
55 int protocol_version);
56
52 } // namespace net 57 } // namespace net
53 58
54 #endif // NET_SPDY_SPDY_HTTP_UTILS_H_ 59 #endif // NET_SPDY_SPDY_HTTP_UTILS_H_
OLDNEW
« no previous file with comments | « no previous file | net/spdy/spdy_http_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698