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

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

Issue 1973233002: ARC: net.mojom passphrase field should be nullable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.mojom; 5 module arc.mojom;
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 12 matching lines...) Expand all
23 NOT_CONNECTED = 2, 23 NOT_CONNECTED = 2,
24 }; 24 };
25 25
26 struct VisibleNetworkDetails { 26 struct VisibleNetworkDetails {
27 int32 frequency; 27 int32 frequency;
28 int32 signal_strength; 28 int32 signal_strength;
29 string bssid; 29 string bssid;
30 }; 30 };
31 31
32 struct ConfiguredNetworkDetails { 32 struct ConfiguredNetworkDetails {
33 string passphrase; 33 string? passphrase;
34 bool autoconnect; 34 bool autoconnect;
35 }; 35 };
36 36
37 union NetworkDetails { 37 union NetworkDetails {
38 VisibleNetworkDetails visible; 38 VisibleNetworkDetails visible;
39 ConfiguredNetworkDetails configured; 39 ConfiguredNetworkDetails configured;
40 }; 40 };
41 41
42 struct WifiConfiguration { 42 struct WifiConfiguration {
43 // These correspond to ONC properties returned by 43 // These correspond to ONC properties returned by
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 [MinVersion=4] StartDisconnect@8(string guid) => (NetworkResult status); 104 [MinVersion=4] StartDisconnect@8(string guid) => (NetworkResult status);
105 }; 105 };
106 106
107 interface NetInstance { 107 interface NetInstance {
108 // Establishes full-duplex communication with the host. 108 // Establishes full-duplex communication with the host.
109 Init@0(NetHost host_ptr); 109 Init@0(NetHost host_ptr);
110 110
111 // Notifies the instance of a WiFI AP scan being completed. 111 // Notifies the instance of a WiFI AP scan being completed.
112 [MinVersion=1] ScanCompleted@1(); 112 [MinVersion=1] ScanCompleted@1();
113 }; 113 };
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698