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

Unified Diff: chromeos/network/managed_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
« no previous file with comments | « chromeos/network/favorite_state.cc ('k') | chromeos/network/managed_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/managed_state.h
diff --git a/chromeos/network/managed_state.h b/chromeos/network/managed_state.h
index 320739cf9c9da505c895f6ae4cac4b9c2c6d4a49..9c8c5492f5bdf7c4274f15dbb1382aa5fbcfb495 100644
--- a/chromeos/network/managed_state.h
+++ b/chromeos/network/managed_state.h
@@ -13,6 +13,7 @@
namespace base {
class Value;
+class DictionaryValue;
}
namespace chromeos {
@@ -56,8 +57,11 @@ class ManagedState {
// Called by NetworkStateHandler after all calls to PropertyChanged for the
// initial set of properties. Used to update state requiring multiple
- // parsed properties, e.g. name from hex_ssid in NetworkState.
- virtual void InitialPropertiesReceived();
+ // properties, e.g. name from hex_ssid in NetworkState.
+ // |properties| contains the complete set of initial properties.
+ // Returns true if any additional properties are updated.
+ virtual bool InitialPropertiesReceived(
+ const base::DictionaryValue& properties);
const ManagedType managed_type() const { return managed_type_; }
const std::string& path() const { return path_; }
« no previous file with comments | « chromeos/network/favorite_state.cc ('k') | chromeos/network/managed_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698