Index: chrome/browser/ui/webui/net_internals/net_internals_ui.cc |
diff --git a/chrome/browser/ui/webui/net_internals/net_internals_ui.cc b/chrome/browser/ui/webui/net_internals/net_internals_ui.cc |
index 3f55e34ad401461b99d7ea25d8c1ddd40cdb91b5..cee252a6538be274936eeabe6bcf2ce3c2a6684c 100644 |
--- a/chrome/browser/ui/webui/net_internals/net_internals_ui.cc |
+++ b/chrome/browser/ui/webui/net_internals/net_internals_ui.cc |
@@ -1552,9 +1552,14 @@ void NetInternalsMessageHandler::OnImportONCFile(const ListValue* list) { |
onc::ONCSource onc_source = onc::ONC_SOURCE_USER_IMPORT; |
base::ListValue network_configs; |
+ base::DictionaryValue global_network_config; |
base::ListValue certificates; |
- if (!chromeos::onc::ParseAndValidateOncForImport( |
- onc_blob, onc_source, passcode, &network_configs, &certificates)) { |
+ if (!chromeos::onc::ParseAndValidateOncForImport(onc_blob, |
+ onc_source, |
+ passcode, |
+ &network_configs, |
+ &global_network_config, |
+ &certificates)) { |
error = "Errors occurred during the ONC parsing. "; |
} |