OLD | NEW |
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_BASE_UPLOAD_DATA_STREAM_H_ | 5 #ifndef NET_BASE_UPLOAD_DATA_STREAM_H_ |
6 #define NET_BASE_UPLOAD_DATA_STREAM_H_ | 6 #define NET_BASE_UPLOAD_DATA_STREAM_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "net/base/net_export.h" | 10 #include "net/base/net_export.h" |
11 #include "net/base/upload_data.h" | 11 #include "net/base/upload_data.h" |
12 | 12 |
13 namespace net { | 13 namespace net { |
14 | 14 |
15 class FileStream; | 15 class FileStream; |
16 class IOBuffer; | 16 class IOBuffer; |
17 | 17 |
18 class NET_EXPORT UploadDataStream { | 18 class NET_EXPORT UploadDataStream { |
19 public: | 19 public: |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 // TODO(satish): Remove this once we have a better way to unit test POST | 86 // TODO(satish): Remove this once we have a better way to unit test POST |
87 // requests with chunked uploads. | 87 // requests with chunked uploads. |
88 static bool merge_chunks_; | 88 static bool merge_chunks_; |
89 | 89 |
90 DISALLOW_COPY_AND_ASSIGN(UploadDataStream); | 90 DISALLOW_COPY_AND_ASSIGN(UploadDataStream); |
91 }; | 91 }; |
92 | 92 |
93 } // namespace net | 93 } // namespace net |
94 | 94 |
95 #endif // NET_BASE_UPLOAD_DATA_STREAM_H_ | 95 #endif // NET_BASE_UPLOAD_DATA_STREAM_H_ |
OLD | NEW |