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

Unified Diff: components/arc/net/arc_net_host_impl.h

Issue 1798293002: ARC: Implement SetWifiEnabledState API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Made SetWifiEnabled return a bool status. 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
Index: components/arc/net/arc_net_host_impl.h
diff --git a/components/arc/net/arc_net_host_impl.h b/components/arc/net/arc_net_host_impl.h
index ae7bb1b3c844cce5a0c2e1f1ecc589145e401fe5..f4c15f8061b396a7b4ff11f9d994bf23f1ae9077 100644
--- a/components/arc/net/arc_net_host_impl.h
+++ b/components/arc/net/arc_net_host_impl.h
@@ -46,6 +46,11 @@ class ArcNetHostImpl : public ArcService,
void GetWifiEnabledState(
const GetWifiEnabledStateCallback& callback) override;
+ // Called when a SetWifiEnabledState call is sent from ARC.
+ void SetWifiEnabledState(
+ bool is_enabled,
+ const SetWifiEnabledStateCallback& callback) override;
+
// Called when a StartScan call is sent from ARC.
void StartScan() override;

Powered by Google App Engine
This is Rietveld 408576698