OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROMECAST_NET_NET_UTIL_H_ | 5 #ifndef CHROMECAST_NET_NET_UTIL_H_ |
6 #define CHROMECAST_NET_NET_UTIL_H_ | 6 #define CHROMECAST_NET_NET_UTIL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 #include <unordered_set> |
10 #include "base/containers/hash_tables.h" | |
11 | 10 |
12 namespace chromecast { | 11 namespace chromecast { |
13 | 12 |
14 // Gets the list of interfaces that should be ignored. The interfaces returned | 13 // Gets the list of interfaces that should be ignored. The interfaces returned |
15 // by this function will not be used to connect to the internet. | 14 // by this function will not be used to connect to the internet. |
16 base::hash_set<std::string> GetIgnoredInterfaces(); | 15 std::unordered_set<std::string> GetIgnoredInterfaces(); |
17 | 16 |
18 } // namespace chromecast | 17 } // namespace chromecast |
19 | 18 |
20 #endif // CHROMECAST_NET_NET_UTIL_CAST_H_ | 19 #endif // CHROMECAST_NET_NET_UTIL_CAST_H_ |
OLD | NEW |