OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_FTP_FTP_TRANSACTION_H_ | 5 #ifndef NET_FTP_FTP_TRANSACTION_H_ |
6 #define NET_FTP_FTP_TRANSACTION_H_ | 6 #define NET_FTP_FTP_TRANSACTION_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "net/base/completion_callback.h" | 10 #include "net/base/completion_callback.h" |
9 #include "net/base/io_buffer.h" | 11 #include "net/base/io_buffer.h" |
10 #include "net/base/load_states.h" | 12 #include "net/base/load_states.h" |
11 #include "net/base/net_export.h" | 13 #include "net/base/net_export.h" |
12 | 14 |
13 namespace net { | 15 namespace net { |
14 | 16 |
15 class AuthCredentials; | 17 class AuthCredentials; |
16 class FtpResponseInfo; | 18 class FtpResponseInfo; |
17 class FtpRequestInfo; | 19 class FtpRequestInfo; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 | 67 |
66 // Returns the response info for this transaction or NULL if the response | 68 // Returns the response info for this transaction or NULL if the response |
67 // info is not available. | 69 // info is not available. |
68 virtual const FtpResponseInfo* GetResponseInfo() const = 0; | 70 virtual const FtpResponseInfo* GetResponseInfo() const = 0; |
69 | 71 |
70 // Returns the load state for this transaction. | 72 // Returns the load state for this transaction. |
71 virtual LoadState GetLoadState() const = 0; | 73 virtual LoadState GetLoadState() const = 0; |
72 | 74 |
73 // Returns the upload progress in bytes. If there is no upload data, | 75 // Returns the upload progress in bytes. If there is no upload data, |
74 // zero will be returned. | 76 // zero will be returned. |
75 virtual uint64 GetUploadProgress() const = 0; | 77 virtual uint64_t GetUploadProgress() const = 0; |
76 }; | 78 }; |
77 | 79 |
78 } // namespace net | 80 } // namespace net |
79 | 81 |
80 #endif // NET_FTP_FTP_TRANSACTION_H_ | 82 #endif // NET_FTP_FTP_TRANSACTION_H_ |
OLD | NEW |