Index: chrome/browser/chromeos/cros/network_parser.h |
diff --git a/chrome/browser/chromeos/cros/network_parser.h b/chrome/browser/chromeos/cros/network_parser.h |
index a06a792686c923af6d1a2bb686cceca8a5a84edb..9181551421036776ee7e0a25e89d287feb7a1851 100644 |
--- a/chrome/browser/chromeos/cros/network_parser.h |
+++ b/chrome/browser/chromeos/cros/network_parser.h |
@@ -83,17 +83,16 @@ class NetworkDeviceParser { |
virtual bool UpdateDeviceFromInfo(const DictionaryValue& info, |
NetworkDevice* device); |
virtual bool UpdateStatus(const std::string& key, |
- Value* value, |
+ const Value& value, |
NetworkDevice* device, |
PropertyIndex* index); |
- |
protected: |
// The NetworkDeviceParser does not take ownership of the |mapper|. |
explicit NetworkDeviceParser(const EnumMapper<PropertyIndex>* mapper); |
virtual ~NetworkDeviceParser(); |
virtual bool ParseValue(PropertyIndex index, |
- Value* value, |
+ const Value& value, |
NetworkDevice* device) = 0; |
virtual ConnectionType ParseType(const std::string& type) = 0; |
@@ -126,7 +125,7 @@ class NetworkParser { |
// property index for the given key. |index| is filled in even if |
// the update fails. Returns false upon failure. |
virtual bool UpdateStatus(const std::string& key, |
- Value* value, |
+ const Value& value, |
Network* network, |
PropertyIndex* index); |
protected: |
@@ -135,7 +134,7 @@ class NetworkParser { |
virtual ~NetworkParser(); |
virtual bool ParseValue(PropertyIndex index, |
- Value* value, |
+ const Value& value, |
Network* network) = 0; |
virtual ConnectionType ParseType(const std::string& type) = 0; |
virtual ConnectionType ParseTypeFromDictionary( |