OLD | NEW |
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_BASE_CHUNKED_UPLOAD_DATA_STREAM_H_ | 5 #ifndef NET_BASE_CHUNKED_UPLOAD_DATA_STREAM_H_ |
6 #define NET_BASE_CHUNKED_UPLOAD_DATA_STREAM_H_ | 6 #define NET_BASE_CHUNKED_UPLOAD_DATA_STREAM_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
8 #include <vector> | 11 #include <vector> |
9 | 12 |
10 #include "base/macros.h" | 13 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
12 #include "net/base/completion_callback.h" | 15 #include "net/base/completion_callback.h" |
13 #include "net/base/net_export.h" | 16 #include "net/base/net_export.h" |
14 #include "net/base/upload_data_stream.h" | 17 #include "net/base/upload_data_stream.h" |
15 | 18 |
16 namespace net { | 19 namespace net { |
17 | 20 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 // ReadInternal reads no data. | 56 // ReadInternal reads no data. |
54 scoped_refptr<IOBuffer> read_buffer_; | 57 scoped_refptr<IOBuffer> read_buffer_; |
55 int read_buffer_len_; | 58 int read_buffer_len_; |
56 | 59 |
57 DISALLOW_COPY_AND_ASSIGN(ChunkedUploadDataStream); | 60 DISALLOW_COPY_AND_ASSIGN(ChunkedUploadDataStream); |
58 }; | 61 }; |
59 | 62 |
60 } // namespace net | 63 } // namespace net |
61 | 64 |
62 #endif // NET_BASE_CHUNKED_UPLOAD_DATA_STREAM_H_ | 65 #endif // NET_BASE_CHUNKED_UPLOAD_DATA_STREAM_H_ |
OLD | NEW |