| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 UI_EVENTS_LATENCY_INFO_H_ | 5 #ifndef UI_EVENTS_LATENCY_INFO_H_ |
| 6 #define UI_EVENTS_LATENCY_INFO_H_ | 6 #define UI_EVENTS_LATENCY_INFO_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/containers/small_map.h" | 13 #include "base/containers/small_map.h" |
| 14 #include "base/gtest_prod_util.h" | |
| 15 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 16 #include "base/time/time.h" | 15 #include "base/time/time.h" |
| 17 #include "base/trace_event/trace_event.h" | 16 #include "base/trace_event/trace_event.h" |
| 18 #include "ipc/ipc_param_traits.h" | 17 #include "ipc/ipc_param_traits.h" |
| 19 #include "ui/events/events_base_export.h" | 18 #include "ui/events/events_base_export.h" |
| 20 | 19 |
| 21 namespace ui { | 20 namespace ui { |
| 22 | 21 |
| 23 enum LatencyComponentType { | 22 enum LatencyComponentType { |
| 24 // ---------------------------BEGIN COMPONENT------------------------------- | 23 // ---------------------------BEGIN COMPONENT------------------------------- |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 int64 trace_id_; | 231 int64 trace_id_; |
| 233 // Whether a terminal component has been added. | 232 // Whether a terminal component has been added. |
| 234 bool terminated_; | 233 bool terminated_; |
| 235 | 234 |
| 236 friend struct IPC::ParamTraits<ui::LatencyInfo>; | 235 friend struct IPC::ParamTraits<ui::LatencyInfo>; |
| 237 }; | 236 }; |
| 238 | 237 |
| 239 } // namespace ui | 238 } // namespace ui |
| 240 | 239 |
| 241 #endif // UI_EVENTS_LATENCY_INFO_H_ | 240 #endif // UI_EVENTS_LATENCY_INFO_H_ |
| OLD | NEW |