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

Unified Diff: ash/common/system/chromeos/network/network_info.cc

Issue 2698473007: Convert path usage in NetworkListViewBase subclasses to use guids. (Closed)
Patch Set: Formatting. Created 3 years, 10 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: ash/common/system/chromeos/network/network_info.cc
diff --git a/ash/common/system/chromeos/network/network_info.cc b/ash/common/system/chromeos/network/network_info.cc
index bd1b34e6b23565c7371e4aa57e026dd7ac2ca794..e58f5aa7e8e928c72ffe11f8d00a2699a35f4ef4 100644
--- a/ash/common/system/chromeos/network/network_info.cc
+++ b/ash/common/system/chromeos/network/network_info.cc
@@ -13,8 +13,8 @@ NetworkInfo::NetworkInfo()
connecting(false),
type(Type::UNKNOWN) {}
-NetworkInfo::NetworkInfo(const std::string& path)
- : service_path(path),
+NetworkInfo::NetworkInfo(const std::string& guid)
+ : guid(guid),
disable(false),
highlight(false),
connected(false),

Powered by Google App Engine
This is Rietveld 408576698