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

Unified Diff: chrome/browser/extensions/api/networking_private/networking_private_api.h

Issue 22295002: Base infrastructure for Networking Private API on Windows and Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed compilation error. Created 7 years, 4 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: chrome/browser/extensions/api/networking_private/networking_private_api.h
diff --git a/chrome/browser/extensions/api/networking_private/networking_private_api.h b/chrome/browser/extensions/api/networking_private/networking_private_api.h
index cab006d53bfe120e8bdb0d4bf8d7589438486ddb..1844a31a3595fa21b48af4fce50ce3187363f076 100644
--- a/chrome/browser/extensions/api/networking_private/networking_private_api.h
+++ b/chrome/browser/extensions/api/networking_private/networking_private_api.h
@@ -100,7 +100,7 @@ class NetworkingPrivateSetPropertiesFunction : public AsyncExtensionFunction {
// Implements the chrome.networkingPrivate.getVisibleNetworks method.
class NetworkingPrivateGetVisibleNetworksFunction
- : public SyncExtensionFunction {
+ : public AsyncExtensionFunction {
public:
NetworkingPrivateGetVisibleNetworksFunction() {}
DECLARE_EXTENSION_FUNCTION("networkingPrivate.getVisibleNetworks",
@@ -109,10 +109,12 @@ class NetworkingPrivateGetVisibleNetworksFunction
protected:
virtual ~NetworkingPrivateGetVisibleNetworksFunction();
- // SyncExtensionFunction overrides.
+ // AsyncExtensionFunction overrides.
virtual bool RunImpl() OVERRIDE;
private:
+ void ResultCallback(const base::ListValue& network_list);
stevenjb 2013/08/13 23:39:04 Unused?
mef 2013/08/21 17:25:34 It is used in nonchromeos implementation.
+
DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateGetVisibleNetworksFunction);
};

Powered by Google App Engine
This is Rietveld 408576698