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

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

Issue 2828893002: [Ash] Remove |highlight| field from NetworkInfo struct (Closed)
Patch Set: 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: ash/system/network/network_info.cc
diff --git a/ash/system/network/network_info.cc b/ash/system/network/network_info.cc
index d6832d675a92b09bf345d0009d3006ad7525bfb9..7d4ecd695be6e1041ea9319376f66c268b169f50 100644
--- a/ash/system/network/network_info.cc
+++ b/ash/system/network/network_info.cc
@@ -8,7 +8,6 @@ namespace ash {
NetworkInfo::NetworkInfo()
: disable(false),
- highlight(false),
connected(false),
connecting(false),
type(Type::UNKNOWN) {}
@@ -16,7 +15,6 @@ NetworkInfo::NetworkInfo()
NetworkInfo::NetworkInfo(const std::string& guid)
: guid(guid),
disable(false),
- highlight(false),
connected(false),
connecting(false),
type(Type::UNKNOWN) {}
@@ -26,9 +24,8 @@ NetworkInfo::~NetworkInfo() = default;
bool NetworkInfo::operator==(const NetworkInfo& other) const {
return guid == other.guid && label == other.label &&
tooltip == other.tooltip && image.BackedBySameObjectAs(other.image) &&
- disable == other.disable && highlight == other.highlight &&
- connected == other.connected && connecting == other.connecting &&
- type == other.type;
+ disable == other.disable && connected == other.connected &&
+ connecting == other.connecting && type == other.type;
}
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698