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_ELEMENT_READER_H_ | 5 #ifndef NET_BASE_UPLOAD_ELEMENT_READER_H_ |
6 #define NET_BASE_UPLOAD_ELEMENT_READER_H_ | 6 #define NET_BASE_UPLOAD_ELEMENT_READER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include <stdint.h> |
| 9 |
| 10 #include "base/macros.h" |
9 #include "net/base/completion_callback.h" | 11 #include "net/base/completion_callback.h" |
10 #include "net/base/net_export.h" | 12 #include "net/base/net_export.h" |
11 | 13 |
12 namespace net { | 14 namespace net { |
13 | 15 |
14 class IOBuffer; | 16 class IOBuffer; |
15 class UploadBytesElementReader; | 17 class UploadBytesElementReader; |
16 class UploadFileElementReader; | 18 class UploadFileElementReader; |
17 | 19 |
18 // An interface to read an upload data element. | 20 // An interface to read an upload data element. |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 int buf_length, | 55 int buf_length, |
54 const CompletionCallback& callback) = 0; | 56 const CompletionCallback& callback) = 0; |
55 | 57 |
56 private: | 58 private: |
57 DISALLOW_COPY_AND_ASSIGN(UploadElementReader); | 59 DISALLOW_COPY_AND_ASSIGN(UploadElementReader); |
58 }; | 60 }; |
59 | 61 |
60 } // namespace net | 62 } // namespace net |
61 | 63 |
62 #endif // NET_BASE_UPLOAD_ELEMENT_READER_H_ | 64 #endif // NET_BASE_UPLOAD_ELEMENT_READER_H_ |
OLD | NEW |