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

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

Issue 2801603003: Add SpdyString alias for std::string in net/spdy. (Closed)
Patch Set: Created 3 years, 8 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/spdy/spdy_deframer_visitor_test.cc ('k') | net/spdy/spdy_framer.h » ('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_FRAME_BUILDER_H_ 5 #ifndef NET_SPDY_SPDY_FRAME_BUILDER_H_
6 #define NET_SPDY_SPDY_FRAME_BUILDER_H_ 6 #define NET_SPDY_SPDY_FRAME_BUILDER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <memory> 11 #include <memory>
12 #include <string>
13 12
14 #include "base/gtest_prod_util.h" 13 #include "base/gtest_prod_util.h"
15 #include "base/sys_byteorder.h" 14 #include "base/sys_byteorder.h"
16 #include "net/base/net_export.h" 15 #include "net/base/net_export.h"
17 #include "net/spdy/platform/api/spdy_string_piece.h" 16 #include "net/spdy/platform/api/spdy_string_piece.h"
18 #include "net/spdy/spdy_bug_tracker.h" 17 #include "net/spdy/spdy_bug_tracker.h"
19 #include "net/spdy/spdy_protocol.h" 18 #include "net/spdy/spdy_protocol.h"
20 #include "net/spdy/zero_copy_output_buffer.h" 19 #include "net/spdy/zero_copy_output_buffer.h"
21 20
22 namespace net { 21 namespace net {
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 const size_t kLengthFieldLength = 3; 143 const size_t kLengthFieldLength = 3;
145 char* start_of_current_frame_ = nullptr; 144 char* start_of_current_frame_ = nullptr;
146 size_t bytes_of_length_written_in_first_block_ = kLengthFieldLength; 145 size_t bytes_of_length_written_in_first_block_ = kLengthFieldLength;
147 // In case length of a new frame is cross blocks. 146 // In case length of a new frame is cross blocks.
148 char* start_of_current_frame_in_next_block_ = nullptr; 147 char* start_of_current_frame_in_next_block_ = nullptr;
149 }; 148 };
150 149
151 } // namespace net 150 } // namespace net
152 151
153 #endif // NET_SPDY_SPDY_FRAME_BUILDER_H_ 152 #endif // NET_SPDY_SPDY_FRAME_BUILDER_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_deframer_visitor_test.cc ('k') | net/spdy/spdy_framer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698