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

Unified Diff: ash/common/system/chromeos/network/network_list_view_base.h

Issue 2698473007: Convert path usage in NetworkListViewBase subclasses to use guids. (Closed)
Patch Set: Tweak NetworkPortalNotificationControllerTest to create GUIDs for new NetworkStates. 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_list_view_base.h
diff --git a/ash/common/system/chromeos/network/network_list_view_base.h b/ash/common/system/chromeos/network/network_list_view_base.h
index c0db970b63ee67748a0894a03757db4c80d8985f..d47eb78a8488eeeb6a613cba3c4e39dc8f122a6b 100644
--- a/ash/common/system/chromeos/network/network_list_view_base.h
+++ b/ash/common/system/chromeos/network/network_list_view_base.h
@@ -28,10 +28,9 @@ class NetworkListViewBase {
virtual void Update() = 0;
// Checks whether |view| represents a network in the list. If yes, sets
- // |service_path| to the network's service path and returns |true|. Otherwise,
- // leaves |sevice_path| unchanged and returns |false|.
- virtual bool IsNetworkEntry(views::View* view,
- std::string* service_path) const = 0;
+ // |guid| to the network's guid and returns |true|. Otherwise,
+ // leaves |guid| unchanged and returns |false|.
+ virtual bool IsNetworkEntry(views::View* view, std::string* guid) const = 0;
protected:
views::View* container() { return container_; }

Powered by Google App Engine
This is Rietveld 408576698