| Index: chromeos/network/favorite_state.cc
|
| diff --git a/chromeos/network/favorite_state.cc b/chromeos/network/favorite_state.cc
|
| index 2d5caa3f21a10ae3f84615a0e2d2e5f4e015081c..90043e9cfc24abc6f465f4c19107f191caeb233b 100644
|
| --- a/chromeos/network/favorite_state.cc
|
| +++ b/chromeos/network/favorite_state.cc
|
| @@ -43,8 +43,9 @@ bool FavoriteState::IsManaged() const {
|
| onc_source_ == onc::ONC_SOURCE_USER_POLICY;
|
| }
|
|
|
| -bool FavoriteState::IsShared() const {
|
| - return profile_path_ == NetworkProfileHandler::kSharedProfilePath;
|
| +bool FavoriteState::IsPrivate() const {
|
| + return !profile_path_.empty() &&
|
| + profile_path_ != NetworkProfileHandler::kSharedProfilePath;
|
| }
|
|
|
| } // namespace chromeos
|
|
|