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

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

Issue 6021009: Http cache: Remove a histogram. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 12 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #pragma once 10 #pragma once
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 void DoomPartialEntry(bool delete_object); 305 void DoomPartialEntry(bool delete_object);
306 306
307 // Performs the needed work after receiving data from the network, when 307 // Performs the needed work after receiving data from the network, when
308 // working with range requests. 308 // working with range requests.
309 int DoPartialNetworkReadCompleted(int result); 309 int DoPartialNetworkReadCompleted(int result);
310 310
311 // Performs the needed work after receiving data from the cache, when 311 // Performs the needed work after receiving data from the cache, when
312 // working with range requests. 312 // working with range requests.
313 int DoPartialCacheReadCompleted(int result); 313 int DoPartialCacheReadCompleted(int result);
314 314
315 // Sends a histogram with info about the response headers.
316 void HistogramHeaders(const HttpResponseHeaders* headers);
317
318 // Called to signal completion of asynchronous IO. 315 // Called to signal completion of asynchronous IO.
319 void OnIOComplete(int result); 316 void OnIOComplete(int result);
320 317
321 State next_state_; 318 State next_state_;
322 const HttpRequestInfo* request_; 319 const HttpRequestInfo* request_;
323 BoundNetLog net_log_; 320 BoundNetLog net_log_;
324 scoped_ptr<HttpRequestInfo> custom_request_; 321 scoped_ptr<HttpRequestInfo> custom_request_;
325 // If extra_headers specified a "if-modified-since" or "if-none-match", 322 // If extra_headers specified a "if-modified-since" or "if-none-match",
326 // |external_validation_| contains the value of those headers. 323 // |external_validation_| contains the value of those headers.
327 ValidationHeaders external_validation_; 324 ValidationHeaders external_validation_;
(...skipping 24 matching lines...) Expand all
352 uint64 final_upload_progress_; 349 uint64 final_upload_progress_;
353 CompletionCallbackImpl<Transaction> io_callback_; 350 CompletionCallbackImpl<Transaction> io_callback_;
354 scoped_refptr<CancelableCompletionCallback<Transaction> > cache_callback_; 351 scoped_refptr<CancelableCompletionCallback<Transaction> > cache_callback_;
355 scoped_refptr<CancelableCompletionCallback<Transaction> > 352 scoped_refptr<CancelableCompletionCallback<Transaction> >
356 write_headers_callback_; 353 write_headers_callback_;
357 }; 354 };
358 355
359 } // namespace net 356 } // namespace net
360 357
361 #endif // NET_HTTP_HTTP_CACHE_TRANSACTION_H_ 358 #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