Chromium Code Reviews| 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 b18b6c21c2421be7bb83e475583ae19299cc1a45..a056d5704a96e086277620a55ddf1e4342f4c8f7 100644 |
| --- a/net/base/network_change_notifier_linux.cc |
| +++ b/net/base/network_change_notifier_linux.cc |
| @@ -4,6 +4,8 @@ |
| #include "net/base/network_change_notifier_linux.h" |
| +#include <unordered_set> |
|
mmenke
2016/04/06 21:02:22
nit: Already included in the header
davidben
2016/04/07 21:30:41
Done.
|
| + |
| #include "base/bind.h" |
| #include "base/compiler_specific.h" |
| #include "base/macros.h" |
| @@ -15,7 +17,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 +47,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 +97,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 |