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

Unified Diff: components/arc/common/net.mojom

Issue 1798293002: ARC: Implement SetWifiEnabledState API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formatting changes in comments. Created 4 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
« no previous file with comments | « no previous file | components/arc/net/arc_net_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/common/net.mojom
diff --git a/components/arc/common/net.mojom b/components/arc/common/net.mojom
index 67c3abee6a6952d4e817102f2da5d3f2da8964ed..912fdac97eabc9cbbef0c47e5dbec871797c1633 100644
--- a/components/arc/common/net.mojom
+++ b/components/arc/common/net.mojom
@@ -47,6 +47,12 @@ interface NetHost {
// Sends a request to get configured or visible WiFi networks based on the
// request type.
[MinVersion=2] GetNetworks@3(GetNetworksRequestType type) => (NetworkData data);
+
+ // Sends a request to enable or disable WiFi. The |result| is true when the
+ // the state has been successfully set or WiFi is already in the desired
+ // state. It is false if WiFi manipulation is prohibited due to a policy or
+ // its current state.
+ [MinVersion=3] SetWifiEnabledState@4(bool is_enabled) => (bool result);
};
interface NetInstance {
« no previous file with comments | « no previous file | components/arc/net/arc_net_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698