| Index: extensions/browser/api/system_network/system_network_api.h
|
| diff --git a/extensions/browser/api/system_network/system_network_api.h b/extensions/browser/api/system_network/system_network_api.h
|
| index 29d20bdeb2ec031e8353bdadc54c4a76de6ca380..38e9e6c22447185c61f921ec03f0a95f735da575 100644
|
| --- a/extensions/browser/api/system_network/system_network_api.h
|
| +++ b/extensions/browser/api/system_network/system_network_api.h
|
| @@ -13,7 +13,7 @@ namespace extensions {
|
| namespace api {
|
|
|
| class SystemNetworkGetNetworkInterfacesFunction
|
| - : public AsyncExtensionFunction {
|
| + : public UIThreadExtensionFunction {
|
| public:
|
| DECLARE_EXTENSION_FUNCTION("system.network.getNetworkInterfaces",
|
| SYSTEM_NETWORK_GETNETWORKINTERFACES)
|
| @@ -23,8 +23,8 @@ class SystemNetworkGetNetworkInterfacesFunction
|
| protected:
|
| ~SystemNetworkGetNetworkInterfacesFunction() override;
|
|
|
| - // AsyncApiFunction:
|
| - bool RunAsync() override;
|
| + // ExtensionFunction:
|
| + ResponseAction Run() override;
|
|
|
| private:
|
| void GetListOnFileThread();
|
|
|