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

Unified Diff: chrome/browser/media/router/discovery/discovery_network_list.h

Issue 2750453002: Add DiscoveryNetworkMonitor implementation (Closed)
Patch Set: Respond to mfoltz' comments, add chrome.dial API back with tests Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/media/router/discovery/discovery_network_list.h
diff --git a/chrome/browser/media/router/discovery/discovery_network_list.h b/chrome/browser/media/router/discovery/discovery_network_list.h
new file mode 100644
index 0000000000000000000000000000000000000000..f2a67325ef1e4979d1609457cd105caf9c3b3cd7
--- /dev/null
+++ b/chrome/browser/media/router/discovery/discovery_network_list.h
@@ -0,0 +1,22 @@
+// Copyright (c) 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_DISCOVERY_NETWORK_LIST_H_
+#define CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_DISCOVERY_NETWORK_LIST_H_
+
+#include <string>
+#include <vector>
+
+struct DiscoveryNetworkId {
+ // e.g. eth0, wlan0
+ std::string interface_name;
+ // Some form of identifier for the network to which this interface is
+ // 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.
+ // address, for Wifi it will be the associated SSID.
+ std::string network_id;
+};
+
+std::vector<DiscoveryNetworkId> GetDiscoveryNetworkIdList();
+
+#endif // CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_DISCOVERY_NETWORK_LIST_H_

Powered by Google App Engine
This is Rietveld 408576698