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

Unified Diff: content/browser/download/download_resource_handler.h

Issue 8746020: Fixed a header name error in UMA statistics that record what servers accept range requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed variable name. Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/download/download_resource_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_resource_handler.h
diff --git a/content/browser/download/download_resource_handler.h b/content/browser/download/download_resource_handler.h
index 15db6a27deeb73320eb0f1fcfb103928fb788597..5c5106f45911587ce594dcf94d5e6d37d6934bc7 100644
--- a/content/browser/download/download_resource_handler.h
+++ b/content/browser/download/download_resource_handler.h
@@ -114,11 +114,14 @@ class DownloadResourceHandler : public ResourceHandler {
ResourceDispatcherHost* rdh_;
bool is_paused_;
base::OneShotTimer<DownloadResourceHandler> pause_timer_;
- base::TimeTicks download_start_time_; // used to collect stats.
- base::TimeTicks last_read_time_; // used to collect stats.
- size_t last_buffer_size_; // used to collect stats.
- int64 bytes_read_; // used to collect stats.
- std::string accepts_ranges_; // used to collect stats.
+
+ // The following are used to collect stats.
+ base::TimeTicks download_start_time_;
+ base::TimeTicks last_read_time_;
+ size_t last_buffer_size_;
+ int64 bytes_read_;
+ std::string accept_ranges_;
+
static const int kReadBufSize = 32768; // bytes
static const int kThrottleTimeMs = 200; // milliseconds
« no previous file with comments | « no previous file | content/browser/download/download_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698