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

Side by Side Diff: chrome/browser/media/router/discovery/discovery_network_list.h

Issue 2750453002: Add DiscoveryNetworkMonitor implementation (Closed)
Patch Set: Remove extension test files Created 3 years, 7 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 unified diff | Download patch
OLDNEW
(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 WiFi, we assume the associated SSID identifies the
16 // connected network. For Ethernet, we assume that the network remains the
17 // same for each device, so we use the device's MAC address to identify the
mark a. foltz 2017/05/04 23:16:38 s/for each device/for the interface (until disconn
btolsch 2017/05/23 08:55:02 Done.
18 // network.
19 std::string network_id;
20 };
21
22 std::vector<DiscoveryNetworkId> GetDiscoveryNetworkIdList();
23
24 #endif // CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_DISCOVERY_NETWORK_LIST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698