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

Unified Diff: chromeos/network/favorite_state.h

Issue 21030006: NetworkState cleanup, pass properties to InitialPropertiesReceived (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 5 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: chromeos/network/favorite_state.h
diff --git a/chromeos/network/favorite_state.h b/chromeos/network/favorite_state.h
index 13afe37de2dde6126dd30df2f1f08a89748ddff2..73480c7930ce0c9ca02880f8fb8f3c7bf27c3204 100644
--- a/chromeos/network/favorite_state.h
+++ b/chromeos/network/favorite_state.h
@@ -32,8 +32,11 @@ class CHROMEOS_EXPORT FavoriteState : public ManagedState {
bool is_favorite() const { return !profile_path_.empty(); }
onc::ONCSource onc_source() const { return onc_source_; }
+ // Returns true if the ONC source is a device or user policy.
bool IsManaged() const;
- bool IsShared() const;
+
+ // Returns true if the network properties are stored in the user profile.
pneubeck (no reviews) 2013/07/29 19:13:25 nit: the user profile -> a user profile
stevenjb 2013/07/29 20:25:47 Done.
+ bool IsPrivate() const;
private:
std::string profile_path_;

Powered by Google App Engine
This is Rietveld 408576698