diff --git a/api/BUILD.gn b/api/BUILD.gn index b3c51802ab..3f44bc9b86 100644 --- a/api/BUILD.gn +++ b/api/BUILD.gn @@ -219,7 +219,6 @@ rtc_library("libjingle_peerconnection_api") { "sctp_transport_interface.h", "set_local_description_observer_interface.h", "set_remote_description_observer_interface.h", - "stats_types.h", "uma_metrics.h", "video_track_source_proxy_factory.h", ] diff --git a/api/stats_types.h b/api/stats_types.h deleted file mode 100644 index cc94ecb646..0000000000 --- a/api/stats_types.h +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Copyright 2022 The WebRTC project authors. All Rights Reserved. - * - * Use of this source code is governed by a BSD-style license - * that can be found in the LICENSE file in the root of the source - * tree. An additional intellectual property rights grant can be found - * in the file PATENTS. All contributing project authors may - * be found in the AUTHORS file in the root of the source tree. - */ - -#ifndef API_STATS_TYPES_H_ -#define API_STATS_TYPES_H_ - -// TODO(https://crbug.com/webrtc/14180): When downstream dependencies are -// including legacy_stats_types.h directly (or use spec-compliant stats) instead -// of this file, delete it. -#include "api/legacy_stats_types.h" - -#endif // API_STATS_TYPES_H_ diff --git a/pc/legacy_stats_collector_interface.h b/pc/legacy_stats_collector_interface.h index 3cddb284f8..a0c6f3bd65 100644 --- a/pc/legacy_stats_collector_interface.h +++ b/pc/legacy_stats_collector_interface.h @@ -17,8 +17,8 @@ #include +#include "api/legacy_stats_types.h" #include "api/media_stream_interface.h" -#include "api/stats_types.h" namespace webrtc { diff --git a/sdk/objc/api/peerconnection/RTCLegacyStatsReport+Private.h b/sdk/objc/api/peerconnection/RTCLegacyStatsReport+Private.h index faa7962821..7374b2b72f 100644 --- a/sdk/objc/api/peerconnection/RTCLegacyStatsReport+Private.h +++ b/sdk/objc/api/peerconnection/RTCLegacyStatsReport+Private.h @@ -10,7 +10,7 @@ #import "RTCLegacyStatsReport.h" -#include "api/stats_types.h" +#include "api/legacy_stats_types.h" NS_ASSUME_NONNULL_BEGIN