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

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: Rebase 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..4fa03f3707af03ab6b14b825252b5740fd2cdf04 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 a user profile.
+ bool IsPrivate() const;
private:
std::string profile_path_;
« no previous file with comments | « chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc ('k') | chromeos/network/favorite_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698