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

Unified Diff: ui/latency_info/latency_info.h

Issue 1871233002: Move LatencyInfo to ui/latency_info (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix some more gyp issues Created 4 years, 8 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/latency_info/ipc/latency_info_param_traits_unittest.cc ('k') | ui/latency_info/latency_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « ui/latency_info/ipc/latency_info_param_traits_unittest.cc ('k') | ui/latency_info/latency_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698