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

Side by Side Diff: components/arc/net/arc_net_host_impl.h

Issue 1680483002: ARC: Implement the startScan API to start scanning of WiFI APs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_ARC_NET_ARC_NET_HOST_IMPL_H_ 5 #ifndef COMPONENTS_ARC_NET_ARC_NET_HOST_IMPL_H_
6 #define COMPONENTS_ARC_NET_ARC_NET_HOST_IMPL_H_ 6 #define COMPONENTS_ARC_NET_ARC_NET_HOST_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 21 matching lines...) Expand all
32 32
33 // Called when a GetNetworks call is sent from ARC. 33 // Called when a GetNetworks call is sent from ARC.
34 void GetNetworks(bool configured_only, 34 void GetNetworks(bool configured_only,
35 bool visible_only, 35 bool visible_only,
36 const GetNetworksCallback& callback) override; 36 const GetNetworksCallback& callback) override;
37 37
38 // Called when a GetWifiEnabledState call is sent from ARC. 38 // Called when a GetWifiEnabledState call is sent from ARC.
39 void GetWifiEnabledState( 39 void GetWifiEnabledState(
40 const GetWifiEnabledStateCallback& callback) override; 40 const GetWifiEnabledStateCallback& callback) override;
41 41
42 // Called when a StartScan call is sent from ARC.
43 void StartScan(const StartScanCallback& callback) override;
44
42 // Overridden from ArcBridgeService::Observer: 45 // Overridden from ArcBridgeService::Observer:
43 void OnNetInstanceReady() override; 46 void OnNetInstanceReady() override;
44 47
45 private: 48 private:
46 base::ThreadChecker thread_checker_; 49 base::ThreadChecker thread_checker_;
47 mojo::Binding<arc::NetHost> binding_; 50 mojo::Binding<arc::NetHost> binding_;
48 51
49 DISALLOW_COPY_AND_ASSIGN(ArcNetHostImpl); 52 DISALLOW_COPY_AND_ASSIGN(ArcNetHostImpl);
50 }; 53 };
51 54
52 } // namespace arc 55 } // namespace arc
53 56
54 #endif // COMPONENTS_ARC_NET_ARC_NET_HOST_IMPL_H_ 57 #endif // COMPONENTS_ARC_NET_ARC_NET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698