Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Unified Diff: net/base/network_change_notifier_linux.cc

Issue 1897033002: Reland 'Convert //net and //chromecast to std::unordered_*' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix TestDownloadRequestHandler Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/network_change_notifier_linux.h ('k') | net/base/network_interfaces_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_change_notifier_linux.cc
diff --git a/net/base/network_change_notifier_linux.cc b/net/base/network_change_notifier_linux.cc
index 572a8d8ccca31cd5f41d99ed60dbff1d3ab24602..8e55f3bee0fd384355d628ca61abc88b94c4295f 100644
--- a/net/base/network_change_notifier_linux.cc
+++ b/net/base/network_change_notifier_linux.cc
@@ -15,7 +15,7 @@ namespace net {
class NetworkChangeNotifierLinux::Thread : public base::Thread {
public:
- explicit Thread(const base::hash_set<std::string>& ignored_interfaces);
+ explicit Thread(const std::unordered_set<std::string>& ignored_interfaces);
~Thread() override;
// Plumbing for NetworkChangeNotifier::GetCurrentConnectionType.
@@ -45,7 +45,7 @@ class NetworkChangeNotifierLinux::Thread : public base::Thread {
};
NetworkChangeNotifierLinux::Thread::Thread(
- const base::hash_set<std::string>& ignored_interfaces)
+ const std::unordered_set<std::string>& ignored_interfaces)
: base::Thread("NetworkChangeNotifier"),
address_tracker_(new internal::AddressTrackerLinux(
base::Bind(&NetworkChangeNotifierLinux::Thread::OnIPAddressChanged,
@@ -95,7 +95,7 @@ void NetworkChangeNotifierLinux::Thread::OnLinkChanged() {
}
NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(
- const base::hash_set<std::string>& ignored_interfaces)
+ const std::unordered_set<std::string>& ignored_interfaces)
: NetworkChangeNotifier(NetworkChangeCalculatorParamsLinux()),
notifier_thread_(new Thread(ignored_interfaces)) {
// We create this notifier thread because the notification implementation
« no previous file with comments | « net/base/network_change_notifier_linux.h ('k') | net/base/network_interfaces_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698