| Index: extensions/browser/api/networking_private/networking_private_api.cc
|
| diff --git a/extensions/browser/api/networking_private/networking_private_api.cc b/extensions/browser/api/networking_private/networking_private_api.cc
|
| index 8a8da965ede9961a41d1d83ca91f5da104f6121c..92270e905f94cd65367e26bb4c6afa04c6f2a1e1 100644
|
| --- a/extensions/browser/api/networking_private/networking_private_api.cc
|
| +++ b/extensions/browser/api/networking_private/networking_private_api.cc
|
| @@ -146,10 +146,8 @@ bool NetworkingPrivateSetPropertiesFunction::RunAsync() {
|
| private_api::SetProperties::Params::Create(*args_);
|
| EXTENSION_FUNCTION_VALIDATE(params);
|
|
|
| - // TODO(stevenjb): Switch this back to params->properties.ToValue() once we
|
| - // introduce types to the IDL. crbug.com/470262.
|
| scoped_ptr<base::DictionaryValue> properties_dict(
|
| - params->properties.additional_properties.DeepCopy());
|
| + params->properties.ToValue());
|
|
|
| GetDelegate(browser_context())
|
| ->SetProperties(
|
| @@ -180,10 +178,8 @@ bool NetworkingPrivateCreateNetworkFunction::RunAsync() {
|
| private_api::CreateNetwork::Params::Create(*args_);
|
| EXTENSION_FUNCTION_VALIDATE(params);
|
|
|
| - // TODO(stevenjb): Switch this back to params->properties.ToValue() once we
|
| - // introduce types to the IDL. crbug.com/470262.
|
| scoped_ptr<base::DictionaryValue> properties_dict(
|
| - params->properties.additional_properties.DeepCopy());
|
| + params->properties.ToValue());
|
|
|
| GetDelegate(browser_context())
|
| ->CreateNetwork(
|
|
|