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_FILE_ELEMENT_READER_H_ | 5 #ifndef NET_BASE_UPLOAD_FILE_ELEMENT_READER_H_ |
6 #define NET_BASE_UPLOAD_FILE_ELEMENT_READER_H_ | 6 #define NET_BASE_UPLOAD_FILE_ELEMENT_READER_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/time.h" | 14 #include "base/time/time.h" |
15 #include "net/base/upload_element_reader.h" | 15 #include "net/base/upload_element_reader.h" |
16 | 16 |
17 namespace base { | 17 namespace base { |
18 class TaskRunner; | 18 class TaskRunner; |
19 } | 19 } |
20 | 20 |
21 namespace net { | 21 namespace net { |
22 | 22 |
23 class FileStream; | 23 class FileStream; |
24 | 24 |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 scoped_ptr<FileStream> file_stream_; | 133 scoped_ptr<FileStream> file_stream_; |
134 uint64 content_length_; | 134 uint64 content_length_; |
135 uint64 bytes_remaining_; | 135 uint64 bytes_remaining_; |
136 | 136 |
137 DISALLOW_COPY_AND_ASSIGN(UploadFileElementReaderSync); | 137 DISALLOW_COPY_AND_ASSIGN(UploadFileElementReaderSync); |
138 }; | 138 }; |
139 | 139 |
140 } // namespace net | 140 } // namespace net |
141 | 141 |
142 #endif // NET_BASE_UPLOAD_FILE_ELEMENT_READER_H_ | 142 #endif // NET_BASE_UPLOAD_FILE_ELEMENT_READER_H_ |
OLD | NEW |