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

Unified Diff: ui/events/latency_info.h

Issue 1802333002: [iOS] Remove dependencies on //ipc from //ui/events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@jpeg
Patch Set: Fix "gn check" on iOS Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/events/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/latency_info.h
diff --git a/ui/events/latency_info.h b/ui/events/latency_info.h
index c895e627593911e23bfa2168ca8efac13ba96eb1..0001c3150ef0086f624328f5448087ecdb46ab1f 100644
--- a/ui/events/latency_info.h
+++ b/ui/events/latency_info.h
@@ -15,9 +15,12 @@
#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
#include "base/trace_event/trace_event.h"
-#include "ipc/ipc_param_traits.h"
#include "ui/events/events_base_export.h"
+#if !defined(OS_IOS)
+#include "ipc/ipc_param_traits.h" // nogncheck
+#endif
+
namespace ui {
// When adding new components, or new metrics based on LatencyInfo,
@@ -229,7 +232,9 @@ class EVENTS_BASE_EXPORT LatencyInfo {
// Whether a terminal component has been added.
bool terminated_;
+#if !defined(OS_IOS)
friend struct IPC::ParamTraits<ui::LatencyInfo>;
+#endif
};
} // namespace ui
« no previous file with comments | « ui/events/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698