| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chromeos/network/favorite_state.h" | 5 #include "chromeos/network/favorite_state.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/strings/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
| 10 #include "chromeos/network/network_event_log.h" | 10 #include "chromeos/network/network_event_log.h" |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 } else { | 62 } else { |
| 63 NET_LOG_ERROR("Failed to parse " + key, path()); | 63 NET_LOG_ERROR("Failed to parse " + key, path()); |
| 64 } | 64 } |
| 65 return true; | 65 return true; |
| 66 } | 66 } |
| 67 return false; | 67 return false; |
| 68 } | 68 } |
| 69 | 69 |
| 70 bool FavoriteState::IsPrivate() const { | 70 bool FavoriteState::IsPrivate() const { |
| 71 return !profile_path_.empty() && | 71 return !profile_path_.empty() && |
| 72 profile_path_ != NetworkProfileHandler::kSharedProfilePath; | 72 profile_path_ != NetworkProfileHandler::GetSharedProfilePath(); |
| 73 } | 73 } |
| 74 | 74 |
| 75 } // namespace chromeos | 75 } // namespace chromeos |
| OLD | NEW |