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

Unified Diff: chromeos/network/managed_state.h

Issue 14846004: Migrate ProxyConfigServiceImpl to NetworkStateHandler and NetworkProfileHandler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Initial patch. Created 7 years, 7 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/managed_state.h
diff --git a/chromeos/network/managed_state.h b/chromeos/network/managed_state.h
index c7964a3b6d09d36a9568e580451d6d1d2dc457c1..dd88fa70521b33e53342824096a55d172c73eab5 100644
--- a/chromeos/network/managed_state.h
+++ b/chromeos/network/managed_state.h
@@ -40,8 +40,10 @@ class ManagedState {
NetworkState* AsNetworkState();
DeviceState* AsDeviceState();
- // Called by NetworkStateHandler when a property changes. Returns true if
- // the property was recognized and parsed successfully.
+ // Called by NetworkStateHandler when a property was received. The return
+ // value only guarantees: If false then the state wasn't modified (e.g. if the
+ // property wasn't parsed successfully).
+ // I.e. if it returns true, the state might be modified or not.
virtual bool PropertyChanged(const std::string& key,
const base::Value& value) = 0;

Powered by Google App Engine
This is Rietveld 408576698