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

Side by Side Diff: net/url_request/url_request_job_metrics.h

Issue 40319: Use filter context to track stats better in SDCH filtering (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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 | « net/url_request/url_request_job.cc ('k') | net/url_request/url_request_job_metrics.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-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 // Records IO statistics associated with a URLRequestJob. 5 // Records IO statistics associated with a URLRequestJob.
6 // See description in navigation_profiler.h for an overview of perf profiling. 6 // See description in navigation_profiler.h for an overview of perf profiling.
7 7
8 #ifndef NET_URL_REQUEST_URL_REQUEST_JOB_METRICS_H_ 8 #ifndef NET_URL_REQUEST_URL_REQUEST_JOB_METRICS_H_
9 #define NET_URL_REQUEST_URL_REQUEST_JOB_METRICS_H_ 9 #define NET_URL_REQUEST_URL_REQUEST_JOB_METRICS_H_
10 10
(...skipping 16 matching lines...) Expand all
27 // original url, url_ is empty. 27 // original url, url_ is empty.
28 scoped_ptr<GURL> url_; 28 scoped_ptr<GURL> url_;
29 29
30 // Time when the job starts. 30 // Time when the job starts.
31 base::TimeTicks start_time_; 31 base::TimeTicks start_time_;
32 32
33 // Time when the job is done. 33 // Time when the job is done.
34 base::TimeTicks end_time_; 34 base::TimeTicks end_time_;
35 35
36 // Total number of bytes the job reads from underline IO. 36 // Total number of bytes the job reads from underline IO.
37 int total_bytes_read_; 37 int64 total_bytes_read_;
38 38
39 // Number of IO read operations the job issues. 39 // Number of IO read operations the job issues.
40 int number_of_read_IO_; 40 int number_of_read_IO_;
41 41
42 // Final status of the job. 42 // Final status of the job.
43 bool success_; 43 bool success_;
44 44
45 // Append the text report of the frame loading to the input string. 45 // Append the text report of the frame loading to the input string.
46 void AppendText(std::wstring* text); 46 void AppendText(std::wstring* text);
47 }; 47 };
48 48
49 #endif // NET_URL_REQUEST_URL_REQUEST_JOB_METRICS_H_ 49 #endif // NET_URL_REQUEST_URL_REQUEST_JOB_METRICS_H_
OLDNEW
« no previous file with comments | « net/url_request/url_request_job.cc ('k') | net/url_request/url_request_job_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698