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

Side by Side Diff: ui/events/latency_info.h

Issue 2273193002: Make compositor_frame.h NOT include base/trace_event/trace_event.h (Closed)
Patch Set: Fix Created 4 years, 3 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
« no previous file with comments | « services/ui/ws/test_utils.h ('k') | ui/events/latency_info.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 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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <queue>
sadrul 2016/08/25 19:45:14 The code in here doesn't seem to actually use queu
11 #include <string> 12 #include <string>
12 #include <utility> 13 #include <utility>
13 #include <vector> 14 #include <vector>
14 15
16 #include "base/bind.h"
15 #include "base/containers/small_map.h" 17 #include "base/containers/small_map.h"
18 #include "base/pickle.h"
19 #include "base/strings/string16.h"
sadrul 2016/08/25 19:45:14 It doesn't look like any of these headers need to
xlai (Olivia) 2016/08/25 20:11:16 I've deleted all these #include files. As a result
16 #include "base/time/time.h" 20 #include "base/time/time.h"
17 #include "base/trace_event/trace_event.h"
18 #include "ui/events/events_base_export.h" 21 #include "ui/events/events_base_export.h"
19 #include "ui/gfx/geometry/point_f.h" 22 #include "ui/gfx/geometry/point_f.h"
20 23
21 #if !defined(OS_IOS) 24 #if !defined(OS_IOS)
22 #include "ipc/ipc_param_traits.h" // nogncheck 25 #include "ipc/ipc_param_traits.h" // nogncheck
23 #include "mojo/public/cpp/bindings/struct_traits.h" // nogncheck 26 #include "mojo/public/cpp/bindings/struct_traits.h" // nogncheck
24 #endif 27 #endif
25 28
29 namespace base {
30 namespace trace_event {
31 class ConvertableToTraceFormat;
32 }
33 }
34
26 namespace ui { 35 namespace ui {
27 36
28 #if !defined(OS_IOS) 37 #if !defined(OS_IOS)
29 namespace mojom { 38 namespace mojom {
30 class LatencyInfoDataView; 39 class LatencyInfoDataView;
31 } 40 }
32 #endif 41 #endif
33 42
34 // When adding new components, or new metrics based on LatencyInfo, 43 // When adding new components, or new metrics based on LatencyInfo,
35 // please update latency_info.dot. 44 // please update latency_info.dot.
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 #if !defined(OS_IOS) 248 #if !defined(OS_IOS)
240 friend struct IPC::ParamTraits<ui::LatencyInfo>; 249 friend struct IPC::ParamTraits<ui::LatencyInfo>;
241 friend struct mojo::StructTraits<ui::mojom::LatencyInfoDataView, 250 friend struct mojo::StructTraits<ui::mojom::LatencyInfoDataView,
242 ui::LatencyInfo>; 251 ui::LatencyInfo>;
243 #endif 252 #endif
244 }; 253 };
245 254
246 } // namespace ui 255 } // namespace ui
247 256
248 #endif // UI_EVENTS_LATENCY_INFO_H_ 257 #endif // UI_EVENTS_LATENCY_INFO_H_
OLDNEW
« no previous file with comments | « services/ui/ws/test_utils.h ('k') | ui/events/latency_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698