From 8a13874897ddaf9b6093af573c5aaa5de6c1e0e3 Mon Sep 17 00:00:00 2001 From: Oskar Sundbom Date: Thu, 7 Dec 2017 17:41:33 +0100 Subject: [PATCH] Remove deprecated datachannel, mediastream, rtpsend and streamcollection headers Bug: webrtc:5883 Change-Id: I14e2802bd901863d19d70879558888cc6cac00aa Reviewed-on: https://webrtc-review.googlesource.com/23260 Commit-Queue: Oskar Sundbom Reviewed-by: Karl Wiberg Cr-Commit-Position: refs/heads/master@{#21157} --- api/BUILD.gn | 4 ---- api/datachannel.h | 18 ------------------ api/mediastream.h | 18 ------------------ api/rtpsender.h | 18 ------------------ api/streamcollection.h | 18 ------------------ 5 files changed, 76 deletions(-) delete mode 100644 api/datachannel.h delete mode 100644 api/mediastream.h delete mode 100644 api/rtpsender.h delete mode 100644 api/streamcollection.h diff --git a/api/BUILD.gn b/api/BUILD.gn index cc4de43479..04bfe70657 100644 --- a/api/BUILD.gn +++ b/api/BUILD.gn @@ -124,11 +124,7 @@ rtc_source_set("libjingle_api_deprecated_headers") { # See http://bugs.webrtc.org/5883. check_includes = false sources = [ - "datachannel.h", - "mediastream.h", "mediastreamtrack.h", - "rtpsender.h", - "streamcollection.h", "videotracksource.h", "webrtcsdp.h", ] diff --git a/api/datachannel.h b/api/datachannel.h deleted file mode 100644 index 70be913a81..0000000000 --- a/api/datachannel.h +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright 2012 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_DATACHANNEL_H_ -#define API_DATACHANNEL_H_ - -// Including this file is deprecated. It is no longer part of the public API. -// This only includes the file in its new location for backwards compatibility. -#include "pc/datachannel.h" - -#endif // API_DATACHANNEL_H_ diff --git a/api/mediastream.h b/api/mediastream.h deleted file mode 100644 index f7bae635a2..0000000000 --- a/api/mediastream.h +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright 2015 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_MEDIASTREAM_H_ -#define API_MEDIASTREAM_H_ - -// Including this file is deprecated. It is no longer part of the public API. -// This only includes the file in its new location for backwards compatibility. -#include "pc/mediastream.h" - -#endif // API_MEDIASTREAM_H_ diff --git a/api/rtpsender.h b/api/rtpsender.h deleted file mode 100644 index 567a7af92b..0000000000 --- a/api/rtpsender.h +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright 2015 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_RTPSENDER_H_ -#define API_RTPSENDER_H_ - -// Including this file is deprecated. It is no longer part of the public API. -// This only includes the file in its new location for backwards compatibility. -#include "pc/rtpsender.h" - -#endif // API_RTPSENDER_H_ diff --git a/api/streamcollection.h b/api/streamcollection.h deleted file mode 100644 index d14e3d484d..0000000000 --- a/api/streamcollection.h +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright 2011 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_STREAMCOLLECTION_H_ -#define API_STREAMCOLLECTION_H_ - -// Including this file is deprecated. It is no longer part of the public API. -// This only includes the file in its new location for backwards compatibility. -#include "pc/streamcollection.h" - -#endif // API_STREAMCOLLECTION_H_