From 94f456f2c6b9146b8a5a26a60a2463440b2a85e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Norte?= Date: Fri, 15 Mar 2024 05:09:05 -0700 Subject: [PATCH] Move native code for NativePerformance to ReactCommon (#43470) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/43470 Changelog: [internal] This moves the native code for the Web Performance API to `ReactCommon`, to align with the other default C++ native modules we've defined there. Reviewed By: sammy-SC Differential Revision: D54860194 --- .../react/nativemodule/webperformance}/BoundedConsumableBuffer.h | 0 .../react/nativemodule/webperformance}/NativePerformance.cpp | 0 .../react/nativemodule/webperformance}/NativePerformance.h | 0 .../nativemodule/webperformance}/NativePerformanceObserver.cpp | 0 .../nativemodule/webperformance}/NativePerformanceObserver.h | 0 .../nativemodule/webperformance}/PerformanceEntryReporter.cpp | 0 .../react/nativemodule/webperformance}/PerformanceEntryReporter.h | 0 .../webperformance/tests}/BoundedConsumableBufferTest.cpp | 0 .../webperformance/tests}/PerformanceEntryReporterTest.cpp | 0 9 files changed, 0 insertions(+), 0 deletions(-) rename packages/react-native/{src/private/webapis/performance/specs => ReactCommon/react/nativemodule/webperformance}/BoundedConsumableBuffer.h (100%) rename packages/react-native/{src/private/webapis/performance/specs => ReactCommon/react/nativemodule/webperformance}/NativePerformance.cpp (100%) rename packages/react-native/{src/private/webapis/performance/specs => ReactCommon/react/nativemodule/webperformance}/NativePerformance.h (100%) rename packages/react-native/{src/private/webapis/performance/specs => ReactCommon/react/nativemodule/webperformance}/NativePerformanceObserver.cpp (100%) rename packages/react-native/{src/private/webapis/performance/specs => ReactCommon/react/nativemodule/webperformance}/NativePerformanceObserver.h (100%) rename packages/react-native/{src/private/webapis/performance/specs => ReactCommon/react/nativemodule/webperformance}/PerformanceEntryReporter.cpp (100%) rename packages/react-native/{src/private/webapis/performance/specs => ReactCommon/react/nativemodule/webperformance}/PerformanceEntryReporter.h (100%) rename packages/react-native/{src/private/webapis/performance/specs/__tests__ => ReactCommon/react/nativemodule/webperformance/tests}/BoundedConsumableBufferTest.cpp (100%) rename packages/react-native/{src/private/webapis/performance/specs/__tests__ => ReactCommon/react/nativemodule/webperformance/tests}/PerformanceEntryReporterTest.cpp (100%) diff --git a/packages/react-native/src/private/webapis/performance/specs/BoundedConsumableBuffer.h b/packages/react-native/ReactCommon/react/nativemodule/webperformance/BoundedConsumableBuffer.h similarity index 100% rename from packages/react-native/src/private/webapis/performance/specs/BoundedConsumableBuffer.h rename to packages/react-native/ReactCommon/react/nativemodule/webperformance/BoundedConsumableBuffer.h diff --git a/packages/react-native/src/private/webapis/performance/specs/NativePerformance.cpp b/packages/react-native/ReactCommon/react/nativemodule/webperformance/NativePerformance.cpp similarity index 100% rename from packages/react-native/src/private/webapis/performance/specs/NativePerformance.cpp rename to packages/react-native/ReactCommon/react/nativemodule/webperformance/NativePerformance.cpp diff --git a/packages/react-native/src/private/webapis/performance/specs/NativePerformance.h b/packages/react-native/ReactCommon/react/nativemodule/webperformance/NativePerformance.h similarity index 100% rename from packages/react-native/src/private/webapis/performance/specs/NativePerformance.h rename to packages/react-native/ReactCommon/react/nativemodule/webperformance/NativePerformance.h diff --git a/packages/react-native/src/private/webapis/performance/specs/NativePerformanceObserver.cpp b/packages/react-native/ReactCommon/react/nativemodule/webperformance/NativePerformanceObserver.cpp similarity index 100% rename from packages/react-native/src/private/webapis/performance/specs/NativePerformanceObserver.cpp rename to packages/react-native/ReactCommon/react/nativemodule/webperformance/NativePerformanceObserver.cpp diff --git a/packages/react-native/src/private/webapis/performance/specs/NativePerformanceObserver.h b/packages/react-native/ReactCommon/react/nativemodule/webperformance/NativePerformanceObserver.h similarity index 100% rename from packages/react-native/src/private/webapis/performance/specs/NativePerformanceObserver.h rename to packages/react-native/ReactCommon/react/nativemodule/webperformance/NativePerformanceObserver.h diff --git a/packages/react-native/src/private/webapis/performance/specs/PerformanceEntryReporter.cpp b/packages/react-native/ReactCommon/react/nativemodule/webperformance/PerformanceEntryReporter.cpp similarity index 100% rename from packages/react-native/src/private/webapis/performance/specs/PerformanceEntryReporter.cpp rename to packages/react-native/ReactCommon/react/nativemodule/webperformance/PerformanceEntryReporter.cpp diff --git a/packages/react-native/src/private/webapis/performance/specs/PerformanceEntryReporter.h b/packages/react-native/ReactCommon/react/nativemodule/webperformance/PerformanceEntryReporter.h similarity index 100% rename from packages/react-native/src/private/webapis/performance/specs/PerformanceEntryReporter.h rename to packages/react-native/ReactCommon/react/nativemodule/webperformance/PerformanceEntryReporter.h diff --git a/packages/react-native/src/private/webapis/performance/specs/__tests__/BoundedConsumableBufferTest.cpp b/packages/react-native/ReactCommon/react/nativemodule/webperformance/tests/BoundedConsumableBufferTest.cpp similarity index 100% rename from packages/react-native/src/private/webapis/performance/specs/__tests__/BoundedConsumableBufferTest.cpp rename to packages/react-native/ReactCommon/react/nativemodule/webperformance/tests/BoundedConsumableBufferTest.cpp diff --git a/packages/react-native/src/private/webapis/performance/specs/__tests__/PerformanceEntryReporterTest.cpp b/packages/react-native/ReactCommon/react/nativemodule/webperformance/tests/PerformanceEntryReporterTest.cpp similarity index 100% rename from packages/react-native/src/private/webapis/performance/specs/__tests__/PerformanceEntryReporterTest.cpp rename to packages/react-native/ReactCommon/react/nativemodule/webperformance/tests/PerformanceEntryReporterTest.cpp