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

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

Issue 219333002: Added method getCaptivePortalStatus to networkingPrivate extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 6 years, 9 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 c4fe9e94a42f849c20e7958b49a8c2629ffb62e7..26312b2adbacb3c05c4b09e752b8b41cfc63ff1f 100644
--- a/chrome/browser/extensions/api/networking_private/networking_private_api.h
+++ b/chrome/browser/extensions/api/networking_private/networking_private_api.h
@@ -379,4 +379,21 @@ class NetworkingPrivateGetWifiTDLSStatusFunction
DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateGetWifiTDLSStatusFunction);
};
+class NetworkingPrivateGetCaptivePortalStatusFunction
+ : public ChromeAsyncExtensionFunction {
+ public:
+ NetworkingPrivateGetCaptivePortalStatusFunction() {}
+ DECLARE_EXTENSION_FUNCTION("networkingPrivate.getCaptivePortalStatus",
+ NETWORKINGPRIVATE_GETCAPTIVEPORTALSTATUS);
+
+ // AsyncExtensionFunction overrides.
+ virtual bool RunImpl() OVERRIDE;
+
+ protected:
+ virtual ~NetworkingPrivateGetCaptivePortalStatusFunction();
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateGetCaptivePortalStatusFunction);
+};
+
#endif // CHROME_BROWSER_EXTENSIONS_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_API_H_

Powered by Google App Engine
This is Rietveld 408576698