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 #include <unordered_set> | 9 |
| 10 #include "base/containers/hash_tables.h" |
10 | 11 |
11 namespace chromecast { | 12 namespace chromecast { |
12 | 13 |
13 // Gets the list of interfaces that should be ignored. The interfaces returned | 14 // Gets the list of interfaces that should be ignored. The interfaces returned |
14 // by this function will not be used to connect to the internet. | 15 // by this function will not be used to connect to the internet. |
15 std::unordered_set<std::string> GetIgnoredInterfaces(); | 16 base::hash_set<std::string> GetIgnoredInterfaces(); |
16 | 17 |
17 } // namespace chromecast | 18 } // namespace chromecast |
18 | 19 |
19 #endif // CHROMECAST_NET_NET_UTIL_CAST_H_ | 20 #endif // CHROMECAST_NET_NET_UTIL_CAST_H_ |
OLD | NEW |