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

Side by Side Diff: components/arc/common/net.mojom

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 module arc; 5 module arc;
6 6
7 [Extensible] 7 [Extensible]
8 enum NetworkResult { 8 enum NetworkResult {
9 SUCCESS = 0, 9 SUCCESS = 0,
10 FAILURE = 1, 10 FAILURE = 1,
(...skipping 15 matching lines...) Expand all
26 array<WifiConfiguration> networks; 26 array<WifiConfiguration> networks;
27 }; 27 };
28 28
29 interface NetHost { 29 interface NetHost {
30 // Sends a request to get configured or visible WiFi networks based on the 30 // Sends a request to get configured or visible WiFi networks based on the
31 // |configured_only| and |visible_only| flags. 31 // |configured_only| and |visible_only| flags.
32 GetNetworks@0(bool configured_only, bool visible_only) => (NetworkData data); 32 GetNetworks@0(bool configured_only, bool visible_only) => (NetworkData data);
33 33
34 // Sends a request to get enabled / disabled status of WiFi. 34 // Sends a request to get enabled / disabled status of WiFi.
35 GetWifiEnabledState@1() => (bool is_enabled); 35 GetWifiEnabledState@1() => (bool is_enabled);
36
37 // Sends a request to start scan of WiFi APs.
38 StartScan@2() => (bool result);
Luis Héctor Chávez 2016/02/08 16:35:46 [MinVersion=1]
abhishekbh 2016/02/12 02:17:33 Done.
36 }; 39 };
37 40
38 interface NetInstance { 41 interface NetInstance {
39 // Establishes full-duplex communication with the host. 42 // Establishes full-duplex communication with the host.
40 Init@0(NetHost host_ptr); 43 Init@0(NetHost host_ptr);
41 }; 44 };
OLDNEW
« no previous file with comments | « no previous file | components/arc/net/arc_net_host_impl.h » ('j') | components/arc/net/arc_net_host_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698