Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Unified Diff: extensions/browser/api/system_network/system_network_api.h

Issue 2646703002: Remove usage of AsyncExtensionFunction::results_ in system_network_api.cc (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | extensions/browser/api/system_network/system_network_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | extensions/browser/api/system_network/system_network_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698