Chromium Code Reviews| 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..84d803ece33c302f444950187b8ac15f5fdef809 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() { return parse_error_; } |
|
Joao da Silva
2011/11/07 13:20:45
Nit: const method?
Mattias Nissler (ping if slow)
2011/11/11 14:57:02
Done.
|
| + |
| 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_; |