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

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

Issue 1572483002: Implement OnGetNetworks for net.mojom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove weak_factory_ 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
« no previous file with comments | « components/arc/common/arc_bridge.mojom ('k') | components/arc/net/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 module arc;
6
7 enum NetworkResult {
8 SUCCESS = 0,
9 FAILURE = 1,
10 };
11
12 struct WifiConfiguration {
13 // These correspond to ONC properties returned by
14 // chrome.networkingPrivate.getNetworks().
15 // See components/onc/docs/onc_spec.html
16 string ssid;
17 int32 frequency;
18 int32 signal_strength;
19 string bssid;
20 string security;
21 };
22
23 struct NetworkData {
24 NetworkResult status;
25 array<WifiConfiguration> networks;
26 };
27
28 interface NetHost {
29 // Sends a request to get configured or visible WiFi networks based on the
30 // |configured_only| and |visible_only| flags.
31 GetNetworks@0(bool configured_only, bool visible_only) => (NetworkData data);
32 };
33
34 interface NetInstance {
35 // Establishes full-duplex communication with the host.
36 Init@0(NetHost host_ptr);
37 };
OLDNEW
« no previous file with comments | « components/arc/common/arc_bridge.mojom ('k') | components/arc/net/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698