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

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

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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_network_transaction_unittest.cc ('k') | net/spdy/spdy_prefixed_buffer_reader.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_PINNABLE_BUFFER_PIECE_H_ 5 #ifndef NET_SPDY_SPDY_PINNABLE_BUFFER_PIECE_H_
6 #define NET_SPDY_SPDY_PINNABLE_BUFFER_PIECE_H_ 6 #define NET_SPDY_SPDY_PINNABLE_BUFFER_PIECE_H_
7 7
8 #include <stddef.h>
9
8 #include <memory> 10 #include <memory>
9 11
10 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
11 #include "base/strings/string_piece.h" 13 #include "base/strings/string_piece.h"
12 #include "net/base/net_export.h" 14 #include "net/base/net_export.h"
13 15
14 namespace net { 16 namespace net {
15 17
16 class SpdyPrefixedBufferReader; 18 class SpdyPrefixedBufferReader;
17 19
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 51
50 const char * buffer_; 52 const char * buffer_;
51 size_t length_; 53 size_t length_;
52 // Null iff |buffer_| isn't pinned. 54 // Null iff |buffer_| isn't pinned.
53 scoped_ptr<char[]> storage_; 55 scoped_ptr<char[]> storage_;
54 }; 56 };
55 57
56 } // namespace net 58 } // namespace net
57 59
58 #endif // NET_SPDY_SPDY_PINNABLE_BUFFER_PIECE_H_ 60 #endif // NET_SPDY_SPDY_PINNABLE_BUFFER_PIECE_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_network_transaction_unittest.cc ('k') | net/spdy/spdy_prefixed_buffer_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698