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:

committed by
Commit Bot

parent
95a19cae2c
commit
07fc24d9a3
@ -849,16 +849,11 @@ if (current_os == "linux" || is_android) {
|
||||
sources = [
|
||||
"native_api/base/init.cc",
|
||||
"native_api/base/init.h",
|
||||
"native_api/base/network_monitor.h",
|
||||
]
|
||||
|
||||
deps = [
|
||||
":base_jni",
|
||||
":native_api_jni",
|
||||
|
||||
# TODO(deadbeef): Remove this once clients start depending on
|
||||
# native_network_monitor directly.
|
||||
":native_api_network_monitor",
|
||||
"//rtc_base",
|
||||
"//rtc_base:checks",
|
||||
]
|
||||
|
Reference in New Issue
Block a user