| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 // This file declares HttpCache::Transaction, a private class of HttpCache so | 5 // This file declares HttpCache::Transaction, a private class of HttpCache so |
| 6 // it should only be included by http_cache.cc | 6 // it should only be included by http_cache.cc |
| 7 | 7 |
| 8 #ifndef NET_HTTP_HTTP_CACHE_TRANSACTION_H_ | 8 #ifndef NET_HTTP_HTTP_CACHE_TRANSACTION_H_ |
| 9 #define NET_HTTP_HTTP_CACHE_TRANSACTION_H_ | 9 #define NET_HTTP_HTTP_CACHE_TRANSACTION_H_ |
| 10 | 10 |
| (...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 bool cache_pending_; // We are waiting for the HttpCache. | 325 bool cache_pending_; // We are waiting for the HttpCache. |
| 326 scoped_refptr<IOBuffer> read_buf_; | 326 scoped_refptr<IOBuffer> read_buf_; |
| 327 int io_buf_len_; | 327 int io_buf_len_; |
| 328 int read_offset_; | 328 int read_offset_; |
| 329 int effective_load_flags_; | 329 int effective_load_flags_; |
| 330 scoped_ptr<PartialData> partial_; // We are dealing with range requests. | 330 scoped_ptr<PartialData> partial_; // We are dealing with range requests. |
| 331 uint64 final_upload_progress_; | 331 uint64 final_upload_progress_; |
| 332 CompletionCallbackImpl<Transaction> io_callback_; | 332 CompletionCallbackImpl<Transaction> io_callback_; |
| 333 scoped_refptr<CancelableCompletionCallback<Transaction> > cache_callback_; | 333 scoped_refptr<CancelableCompletionCallback<Transaction> > cache_callback_; |
| 334 scoped_refptr<CancelableCompletionCallback<Transaction> > | 334 scoped_refptr<CancelableCompletionCallback<Transaction> > |
| 335 write_headers_callback_; | 335 write_headers_callback_; |
| 336 }; | 336 }; |
| 337 | 337 |
| 338 } // namespace net | 338 } // namespace net |
| 339 | 339 |
| 340 #endif // NET_HTTP_HTTP_CACHE_TRANSACTION_H_ | 340 #endif // NET_HTTP_HTTP_CACHE_TRANSACTION_H_ |
| OLD | NEW |