OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 is a simple struct with tracking information that is stored | 5 // This is a simple struct with tracking information that is stored |
6 // with a PendingTask (when message_loop is handling the task). | 6 // with a PendingTask (when message_loop is handling the task). |
7 // Only the information that is shared with the profiler in tracked_objects | 7 // Only the information that is shared with the profiler in tracked_objects |
8 // are included in this structure. | 8 // are included in this structure. |
9 | 9 |
10 | 10 |
11 #ifndef BASE_TRACKING_INFO_H_ | 11 #ifndef BASE_TRACKING_INFO_H_ |
12 #define BASE_TRACKING_INFO_H_ | 12 #define BASE_TRACKING_INFO_H_ |
13 | 13 |
| 14 #include "base/base_export.h" |
14 #include "base/profiler/tracked_time.h" | 15 #include "base/profiler/tracked_time.h" |
15 #include "base/time/time.h" | 16 #include "base/time/time.h" |
16 | 17 |
17 namespace tracked_objects { | 18 namespace tracked_objects { |
18 class Location; | 19 class Location; |
19 class Births; | 20 class Births; |
20 } | 21 } |
21 | 22 |
22 namespace base { | 23 namespace base { |
23 | 24 |
(...skipping 21 matching lines...) Expand all Loading... |
45 // Time when the related task was posted. | 46 // Time when the related task was posted. |
46 base::TimeTicks time_posted; | 47 base::TimeTicks time_posted; |
47 | 48 |
48 // The time when the task should be run. | 49 // The time when the task should be run. |
49 base::TimeTicks delayed_run_time; | 50 base::TimeTicks delayed_run_time; |
50 }; | 51 }; |
51 | 52 |
52 } // namespace base | 53 } // namespace base |
53 | 54 |
54 #endif // BASE_TRACKING_INFO_H_ | 55 #endif // BASE_TRACKING_INFO_H_ |
OLD | NEW |