OLD | NEW |
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 // Records IO statistics associated with a URLRequestJob. | 5 // Records IO statistics associated with a net::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 #pragma once | 10 #pragma once |
11 | 11 |
12 #include <string> | 12 #include <string> |
13 | 13 |
14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
15 #include "base/scoped_ptr.h" | 15 #include "base/scoped_ptr.h" |
(...skipping 25 matching lines...) Expand all Loading... |
41 int number_of_read_IO_; | 41 int number_of_read_IO_; |
42 | 42 |
43 // Final status of the job. | 43 // Final status of the job. |
44 bool success_; | 44 bool success_; |
45 | 45 |
46 // Append the text report of the frame loading to the input string. | 46 // Append the text report of the frame loading to the input string. |
47 void AppendText(std::wstring* text); | 47 void AppendText(std::wstring* text); |
48 }; | 48 }; |
49 | 49 |
50 #endif // NET_URL_REQUEST_URL_REQUEST_JOB_METRICS_H_ | 50 #endif // NET_URL_REQUEST_URL_REQUEST_JOB_METRICS_H_ |
OLD | NEW |