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

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

Issue 2612873004: Remove some usages of AsyncExtensionFunction::results_. (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
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();

Powered by Google App Engine
This is Rietveld 408576698