Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(297)

Side by Side Diff: net/http/http_cache_transaction.h

Issue 2812062: Http Cache: Make sure that we don't fail transactions when the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | net/http/http_cache_transaction.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2010 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 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 bool reading_; // We are already reading. 332 bool reading_; // We are already reading.
333 bool invalid_range_; // We may bypass the cache for this request. 333 bool invalid_range_; // We may bypass the cache for this request.
334 bool enable_range_support_; 334 bool enable_range_support_;
335 bool truncated_; // We don't have all the response data. 335 bool truncated_; // We don't have all the response data.
336 bool server_responded_206_; 336 bool server_responded_206_;
337 bool cache_pending_; // We are waiting for the HttpCache. 337 bool cache_pending_; // We are waiting for the HttpCache.
338 scoped_refptr<IOBuffer> read_buf_; 338 scoped_refptr<IOBuffer> read_buf_;
339 int io_buf_len_; 339 int io_buf_len_;
340 int read_offset_; 340 int read_offset_;
341 int effective_load_flags_; 341 int effective_load_flags_;
342 int write_len_;
342 scoped_ptr<PartialData> partial_; // We are dealing with range requests. 343 scoped_ptr<PartialData> partial_; // We are dealing with range requests.
343 uint64 final_upload_progress_; 344 uint64 final_upload_progress_;
344 CompletionCallbackImpl<Transaction> io_callback_; 345 CompletionCallbackImpl<Transaction> io_callback_;
345 scoped_refptr<CancelableCompletionCallback<Transaction> > cache_callback_; 346 scoped_refptr<CancelableCompletionCallback<Transaction> > cache_callback_;
346 scoped_refptr<CancelableCompletionCallback<Transaction> > 347 scoped_refptr<CancelableCompletionCallback<Transaction> >
347 write_headers_callback_; 348 write_headers_callback_;
348 }; 349 };
349 350
350 } // namespace net 351 } // namespace net
351 352
352 #endif // NET_HTTP_HTTP_CACHE_TRANSACTION_H_ 353 #endif // NET_HTTP_HTTP_CACHE_TRANSACTION_H_
OLDNEW
« no previous file with comments | « no previous file | net/http/http_cache_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698