| 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 <stdint.h> |
| 9 |
| 8 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 9 #include "base/files/file.h" | 11 #include "base/files/file.h" |
| 10 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 11 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
| 14 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
| 15 #include "base/time/time.h" | 18 #include "base/time/time.h" |
| 16 #include "net/base/net_export.h" | 19 #include "net/base/net_export.h" |
| 17 #include "net/base/upload_element_reader.h" | 20 #include "net/base/upload_element_reader.h" |
| 18 | 21 |
| 19 namespace base { | 22 namespace base { |
| 20 class TaskRunner; | 23 class TaskRunner; |
| 21 } | 24 } |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 uint64_t content_length_; | 88 uint64_t content_length_; |
| 86 uint64_t bytes_remaining_; | 89 uint64_t bytes_remaining_; |
| 87 base::WeakPtrFactory<UploadFileElementReader> weak_ptr_factory_; | 90 base::WeakPtrFactory<UploadFileElementReader> weak_ptr_factory_; |
| 88 | 91 |
| 89 DISALLOW_COPY_AND_ASSIGN(UploadFileElementReader); | 92 DISALLOW_COPY_AND_ASSIGN(UploadFileElementReader); |
| 90 }; | 93 }; |
| 91 | 94 |
| 92 } // namespace net | 95 } // namespace net |
| 93 | 96 |
| 94 #endif // NET_BASE_UPLOAD_FILE_ELEMENT_READER_H_ | 97 #endif // NET_BASE_UPLOAD_FILE_ELEMENT_READER_H_ |
| OLD | NEW |