Index: chromeos/network/favorite_state.cc |
diff --git a/chromeos/network/favorite_state.cc b/chromeos/network/favorite_state.cc |
index 8ad9d3f9627648acb9c30dbe624e19f55370affd..5732fd83487f4f574121574413a0a8fa75f1ad53 100644 |
--- a/chromeos/network/favorite_state.cc |
+++ b/chromeos/network/favorite_state.cc |
@@ -83,13 +83,6 @@ |
return false; |
} |
-bool FavoriteState::IsFavorite() const { |
- // kTypeEthernetEap is always a favorite. We need this check because it does |
- // not show up in the visible list, but its properties may not be available |
- // when it first shows up in ServiceCompleteList. See crbug.com/355117. |
- return !profile_path_.empty() || type() == shill::kTypeEthernetEap; |
-} |
- |
bool FavoriteState::IsPrivate() const { |
return !profile_path_.empty() && |
profile_path_ != NetworkProfileHandler::GetSharedProfilePath(); |