Removing NetworkMonitorFactory static global.

It's now passed through CreatePeerConnectionFactory like all similar
injectable dependencies.

Also removing network_monitor.h from native_api/base, since clients
should all be moved to the new location now.

Bug: webrtc:9883
Change-Id: I3776262ce2a2a380d01c163f4d18a0dfad4b5b41
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/181401
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Sami Kalliomäki <sakal@webrtc.org>
Commit-Queue: Taylor <deadbeef@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#31931}
This commit is contained in:
Taylor Brandstetter
2020-08-12 01:58:10 +00:00
committed by Commit Bot
parent 95a19cae2c
commit 07fc24d9a3
6 changed files with 4 additions and 68 deletions

View File

@ -1,18 +0,0 @@
/*
* Copyright 2018 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 SDK_ANDROID_NATIVE_API_BASE_NETWORK_MONITOR_H_
#define SDK_ANDROID_NATIVE_API_BASE_NETWORK_MONITOR_H_
// TODO(deadbeef): Remove this forwarding header once clients switch to the
// new one.
#include "sdk/android/native_api/network_monitor/network_monitor.h"
#endif // SDK_ANDROID_NATIVE_API_BASE_NETWORK_MONITOR_H_