Index: ui/latency_info/latency_info.h |
diff --git a/ui/events/latency_info.h b/ui/latency_info/latency_info.h |
similarity index 97% |
rename from ui/events/latency_info.h |
rename to ui/latency_info/latency_info.h |
index 43a7d7b7abadca2aa6ed182988aaef6cf3b7c00c..d9477e8b61b3943d72ac52c9e6963e7a0c5955e3 100644 |
--- a/ui/events/latency_info.h |
+++ b/ui/latency_info/latency_info.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef UI_EVENTS_LATENCY_INFO_H_ |
-#define UI_EVENTS_LATENCY_INFO_H_ |
+#ifndef UI_LATENCY_INFO_LATENCY_INFO_H_ |
+#define UI_LATENCY_INFO_LATENCY_INFO_H_ |
#include <stdint.h> |
@@ -15,7 +15,7 @@ |
#include "base/containers/small_map.h" |
#include "base/time/time.h" |
#include "base/trace_event/trace_event.h" |
-#include "ui/events/events_base_export.h" |
+#include "ui/latency_info/latency_info_export.h" |
#if !defined(OS_IOS) |
#include "ipc/ipc_param_traits.h" // nogncheck |
@@ -105,7 +105,7 @@ enum LatencyComponentType { |
INPUT_EVENT_LATENCY_TERMINATED_SWAP_FAILED_COMPONENT, |
}; |
-class EVENTS_BASE_EXPORT LatencyInfo { |
+class LATENCY_INFO_EXPORT LatencyInfo { |
public: |
struct LatencyComponent { |
// Nondecreasing number that can be used to determine what events happened |
@@ -118,7 +118,7 @@ class EVENTS_BASE_EXPORT LatencyInfo { |
uint32_t event_count; |
}; |
- struct EVENTS_BASE_EXPORT InputCoordinate { |
+ struct LATENCY_INFO_EXPORT InputCoordinate { |
InputCoordinate(); |
InputCoordinate(float x, float y); |
@@ -135,7 +135,8 @@ class EVENTS_BASE_EXPORT LatencyInfo { |
// component info. |
typedef base::SmallMap< |
std::map<std::pair<LatencyComponentType, int64_t>, LatencyComponent>, |
- kTypicalMaxComponentsPerLatencyInfo> LatencyMap; |
+ kTypicalMaxComponentsPerLatencyInfo> |
+ LatencyMap; |
LatencyInfo(); |
LatencyInfo(const LatencyInfo& other); |
@@ -245,4 +246,4 @@ class EVENTS_BASE_EXPORT LatencyInfo { |
} // namespace ui |
-#endif // UI_EVENTS_LATENCY_INFO_H_ |
+#endif // UI_LATENCY_INFO_LATENCY_INFO_H_ |