| Index: chrome/browser/chromeos/cros/onc_network_parser.h
|
| diff --git a/chrome/browser/chromeos/cros/onc_network_parser.h b/chrome/browser/chromeos/cros/onc_network_parser.h
|
| index 4fd0126a264a44d56f101fa6465e55049c796e3e..66d382e41af2bef99548c60694cf9ee4f0f953ad 100644
|
| --- a/chrome/browser/chromeos/cros/onc_network_parser.h
|
| +++ b/chrome/browser/chromeos/cros/onc_network_parser.h
|
| @@ -49,6 +49,8 @@ class OncNetworkParser : public NetworkParser {
|
| virtual Network* CreateNetworkFromInfo(const std::string& service_path,
|
| const base::DictionaryValue& info) OVERRIDE;
|
|
|
| + const std::string& parse_error() const { return parse_error_; }
|
| +
|
| protected:
|
| OncNetworkParser();
|
|
|
| @@ -70,6 +72,9 @@ class OncNetworkParser : public NetworkParser {
|
| int cert_index,
|
| base::DictionaryValue* certificate);
|
|
|
| + // Error message from the JSON parser, if applicable.
|
| + std::string parse_error_;
|
| +
|
| scoped_ptr<base::DictionaryValue> root_dict_;
|
| base::ListValue* network_configs_;
|
| base::ListValue* certificates_;
|
|
|