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

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

Issue 1751793002: ARC: Remove error status setting in GetNetworks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added enum instead of booleans for GetNetworks. Created 4 years, 10 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 f078edecfee2b4c198176b99645e60e3238ee836..ae7bb1b3c844cce5a0c2e1f1ecc589145e401fe5 100644
--- a/components/arc/net/arc_net_host_impl.h
+++ b/components/arc/net/arc_net_host_impl.h
@@ -33,8 +33,13 @@ class ArcNetHostImpl : public ArcService,
~ArcNetHostImpl() override;
// Called when a GetNetworks call is sent from ARC.
- void GetNetworks(bool configured_only,
- bool visible_only,
+ void GetNetworksDeprecated(
+ bool configured_only,
+ bool visible_only,
+ const GetNetworksDeprecatedCallback& callback) override;
+
+ // Called when a GetNetworks call is sent from ARC.
+ void GetNetworks(GetNetworksRequestType type,
const GetNetworksCallback& callback) override;
// Called when a GetWifiEnabledState call is sent from ARC.

Powered by Google App Engine
This is Rietveld 408576698