Remove unused method set_ignore_non_default_routes

Also removing the corresponding unit test.

Bug: None
Change-Id: I585b88b794a78f5cdf5dd339a6d94788578cf2c7
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/168403
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Xavier Lepaul <xalep@google.com>
Cr-Commit-Position: refs/heads/master@{#30493}
This commit is contained in:
Xavier Lepaul
2020-02-10 13:42:26 +01:00
committed by Commit Bot
parent 1ca6bdbbdb
commit f1cf89b937
3 changed files with 1 additions and 64 deletions

View File

@ -238,14 +238,6 @@ class RTC_EXPORT BasicNetworkManager : public NetworkManagerBase,
network_ignore_list_ = list;
}
#if defined(WEBRTC_LINUX)
// Sets the flag for ignoring non-default routes.
// Defaults to false.
void set_ignore_non_default_routes(bool value) {
ignore_non_default_routes_ = value;
}
#endif
protected:
#if defined(WEBRTC_POSIX)
// Separated from CreateNetworks for tests.
@ -286,7 +278,6 @@ class RTC_EXPORT BasicNetworkManager : public NetworkManagerBase,
bool sent_first_update_;
int start_count_;
std::vector<std::string> network_ignore_list_;
bool ignore_non_default_routes_;
std::unique_ptr<NetworkMonitorInterface> network_monitor_;
};