OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2017 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_DISCOVERY_NETWORK_LIST_H_ | |
6 #define CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_DISCOVERY_NETWORK_LIST_H_ | |
7 | |
8 #include <string> | |
9 #include <vector> | |
10 | |
11 struct DiscoveryNetworkId { | |
12 // e.g. eth0, wlan0 | |
13 std::string interface_name; | |
14 // Some form of identifier for the network to which this interface is | |
15 // connected. For ethernet, this will simply be the ethernet adapter's MAC | |
mark a. foltz
2017/04/26 22:25:11
The SSID identifies a network, while the MAC addre
btolsch
2017/05/03 22:03:09
Done.
| |
16 // address, for Wifi it will be the associated SSID. | |
17 std::string network_id; | |
18 }; | |
19 | |
20 std::vector<DiscoveryNetworkId> GetDiscoveryNetworkIdList(); | |
21 | |
22 #endif // CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_DISCOVERY_NETWORK_LIST_H_ | |
OLD | NEW |