| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_HTTP_HTTP_TRANSACTION_H_ | 5 #ifndef NET_HTTP_HTTP_TRANSACTION_H_ |
| 6 #define NET_HTTP_HTTP_TRANSACTION_H_ | 6 #define NET_HTTP_HTTP_TRANSACTION_H_ |
| 7 | 7 |
| 8 #include "net/base/completion_callback.h" | 8 #include "net/base/completion_callback.h" |
| 9 #include "net/base/load_states.h" | 9 #include "net/base/load_states.h" |
| 10 | 10 |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 virtual LoadState GetLoadState() const = 0; | 81 virtual LoadState GetLoadState() const = 0; |
| 82 | 82 |
| 83 // Returns the upload progress in bytes. If there is no upload data, | 83 // Returns the upload progress in bytes. If there is no upload data, |
| 84 // zero will be returned. This does not include the request headers. | 84 // zero will be returned. This does not include the request headers. |
| 85 virtual uint64 GetUploadProgress() const = 0; | 85 virtual uint64 GetUploadProgress() const = 0; |
| 86 }; | 86 }; |
| 87 | 87 |
| 88 } // namespace net | 88 } // namespace net |
| 89 | 89 |
| 90 #endif // NET_HTTP_HTTP_TRANSACTION_H_ | 90 #endif // NET_HTTP_HTTP_TRANSACTION_H_ |
| 91 | |
| OLD | NEW |