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

Side by Side Diff: extensions/common/api/networking_config.idl

Issue 1841543002: [Extensions] Convert APIs to use movable types [12] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « extensions/common/api/mojo_private.idl ('k') | extensions/common/api/networking_private.idl » ('j') | 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 // Use the <code>networking.config</code> API to authenticate to captive 5 // Use the <code>networking.config</code> API to authenticate to captive
6 // portals. 6 // portals.
7 namespace networking.config { 7 [use_movable_types=true] namespace networking.config {
8 // Indicator for the type of network used in $(ref:NetworkInfo). 8 // Indicator for the type of network used in $(ref:NetworkInfo).
9 enum NetworkType { WiFi }; 9 enum NetworkType { WiFi };
10 10
11 // A dictionary identifying filtered networks. One of <code>GUID</code>, 11 // A dictionary identifying filtered networks. One of <code>GUID</code>,
12 // <code>SSID</code> or <code>HexSSID</code> must be set. <code>BSSID</code> 12 // <code>SSID</code> or <code>HexSSID</code> must be set. <code>BSSID</code>
13 // and <code>Security</code> are ignored when filtering networks. 13 // and <code>Security</code> are ignored when filtering networks.
14 dictionary NetworkInfo { 14 dictionary NetworkInfo {
15 // Currently only WiFi supported. 15 // Currently only WiFi supported.
16 NetworkType Type; 16 NetworkType Type;
17 17
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 // set using the $(ref:setNetworkFilter). 94 // set using the $(ref:setNetworkFilter).
95 // Upon receiving this event the extension should start its authentication 95 // Upon receiving this event the extension should start its authentication
96 // attempt with the captive portal. When the extension finishes its attempt, 96 // attempt with the captive portal. When the extension finishes its attempt,
97 // it must call $(ref:finishAuthentication) with the <code>GUID</code> 97 // it must call $(ref:finishAuthentication) with the <code>GUID</code>
98 // received with this event and the appropriate authentication result. 98 // received with this event and the appropriate authentication result.
99 // |networkInfo|: Information about the network on which a captive portal 99 // |networkInfo|: Information about the network on which a captive portal
100 // was detected. 100 // was detected.
101 static void onCaptivePortalDetected(NetworkInfo networkInfo); 101 static void onCaptivePortalDetected(NetworkInfo networkInfo);
102 }; 102 };
103 }; 103 };
OLDNEW
« no previous file with comments | « extensions/common/api/mojo_private.idl ('k') | extensions/common/api/networking_private.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698