| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef ASH_METRICS_TASK_SWITCH_TIME_TRACKER_H_ | 5 #ifndef ASH_METRICS_TASK_SWITCH_TIME_TRACKER_H_ |
| 6 #define ASH_METRICS_TASK_SWITCH_TIME_TRACKER_H_ | 6 #define ASH_METRICS_TASK_SWITCH_TIME_TRACKER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| 11 #include "base/macros.h" |
| 11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 13 | 14 |
| 14 namespace base { | 15 namespace base { |
| 15 class HistogramBase; | 16 class HistogramBase; |
| 16 class TickClock; | 17 class TickClock; |
| 17 } | 18 } |
| 18 | 19 |
| 19 namespace ash { | 20 namespace ash { |
| 20 | 21 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 | 69 |
| 69 // The clock used to determine the |last_action_time_|. | 70 // The clock used to determine the |last_action_time_|. |
| 70 scoped_ptr<base::TickClock> tick_clock_; | 71 scoped_ptr<base::TickClock> tick_clock_; |
| 71 | 72 |
| 72 DISALLOW_COPY_AND_ASSIGN(TaskSwitchTimeTracker); | 73 DISALLOW_COPY_AND_ASSIGN(TaskSwitchTimeTracker); |
| 73 }; | 74 }; |
| 74 | 75 |
| 75 } // namespace ash | 76 } // namespace ash |
| 76 | 77 |
| 77 #endif // ASH_METRICS_TASK_SWITCH_TIME_TRACKE_H_ | 78 #endif // ASH_METRICS_TASK_SWITCH_TIME_TRACKE_H_ |
| OLD | NEW |