Index: chromeos/network/managed_state.h |
diff --git a/chromeos/network/managed_state.h b/chromeos/network/managed_state.h |
index 5dcaff2818a76cf50b38c2240e1dfa72cd3c8fe4..fb33993aa329714ca49f3a30b51e684b0fa32d81 100644 |
--- a/chromeos/network/managed_state.h |
+++ b/chromeos/network/managed_state.h |
@@ -40,9 +40,12 @@ class ManagedState { |
NetworkState* AsNetworkState(); |
DeviceState* AsDeviceState(); |
- // Called by NetworkStateHandler when a property changes. Returns false if |
- // the property was not recognized, was not parsed successfully, or is |
- // unchanged (complex properties may be assumed to have changed). |
+ // Called by NetworkStateHandler when a property was received. The return |
stevenjb
2013/05/15 17:44:14
I think that the original 'Returns false if' claus
pneubeck (no reviews)
2013/05/15 20:24:48
Please double check my change to the return statem
|
+ // 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. |
+ // For reducing the number of notifications, false positives should be |
+ // avoided. |
virtual bool PropertyChanged(const std::string& key, |
const base::Value& value) = 0; |