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

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

Issue 2975153002: Convert FILE thread usage in system_network_api.cc to TaskScheduler. (Closed)
Patch Set: GetListOnBlockingTaskRunner Created 3 years, 5 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 38e9e6c22447185c61f921ec03f0a95f735da575..385fed466d04645c05782a86589e15748d42d49a 100644
--- a/extensions/browser/api/system_network/system_network_api.h
+++ b/extensions/browser/api/system_network/system_network_api.h
@@ -5,6 +5,8 @@
#ifndef EXTENSIONS_BROWSER_API_SYSTEM_NETWORK_SYSTEM_NETWORK_API_H_
#define EXTENSIONS_BROWSER_API_SYSTEM_NETWORK_SYSTEM_NETWORK_API_H_
+#include <memory>
+
#include "extensions/browser/extension_function.h"
#include "extensions/common/api/system_network.h"
#include "net/base/network_interfaces.h"
@@ -27,9 +29,8 @@ class SystemNetworkGetNetworkInterfacesFunction
ResponseAction Run() override;
private:
- void GetListOnFileThread();
- void HandleGetListError();
- void SendResponseOnUIThread(const net::NetworkInterfaceList& interface_list);
+ void SendResponseOnUIThread(
+ std::unique_ptr<net::NetworkInterfaceList> interface_list);
};
} // namespace api
« 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