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

Side by Side Diff: extensions/common/api/networking_private.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/networking_config.idl ('k') | extensions/common/api/power.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 // The <code>chrome.networkingPrivate</code> API is used for configuring 5 // The <code>chrome.networkingPrivate</code> API is used for configuring
6 // network connections (Cellular, Ethernet, VPN, WiFi or WiMAX). This private 6 // network connections (Cellular, Ethernet, VPN, WiFi or WiMAX). This private
7 // API is only valid if called from a browser or app associated with the 7 // API is only valid if called from a browser or app associated with the
8 // primary user. See the Open Network Configuration (ONC) documentation for 8 // primary user. See the Open Network Configuration (ONC) documentation for
9 // descriptions of properties: 9 // descriptions of properties:
10 // <a href="https://code.google.com/p/chromium/codesearch#chromium/src/component s/onc/docs/onc_spec.html"> 10 // <a href="https://code.google.com/p/chromium/codesearch#chromium/src/component s/onc/docs/onc_spec.html">
11 // src/components/onc/docs/onc_spec.html</a>, or the 11 // src/components/onc/docs/onc_spec.html</a>, or the
12 // <a href="http://www.chromium.org/chromium-os/chromiumos-design-docs/open-netw ork-configuration"> 12 // <a href="http://www.chromium.org/chromium-os/chromiumos-design-docs/open-netw ork-configuration">
13 // Open Network Configuration</a> page at chromium.org. 13 // Open Network Configuration</a> page at chromium.org.
14 // <br><br> 14 // <br><br>
15 // NOTE: Most dictionary properties and enum values use UpperCamelCase to match 15 // NOTE: Most dictionary properties and enum values use UpperCamelCase to match
16 // the ONC spec instead of the JavaScript lowerCamelCase convention. 16 // the ONC spec instead of the JavaScript lowerCamelCase convention.
17 // <br><br> 17 // <br><br>
18 // "State" properties describe just the ONC properties returned by 18 // "State" properties describe just the ONC properties returned by
19 // $(ref:networkingPrivate.getState) and $(ref:networkingPrivate.getNetworks). 19 // $(ref:networkingPrivate.getState) and $(ref:networkingPrivate.getNetworks).
20 // <br><br> 20 // <br><br>
21 // "Config" properties describe just the ONC properties that can be configured 21 // "Config" properties describe just the ONC properties that can be configured
22 // through this API. NOTE: Not all configuration properties are exposed at this 22 // through this API. NOTE: Not all configuration properties are exposed at this
23 // time, only those currently required by the Chrome Settings UI. 23 // time, only those currently required by the Chrome Settings UI.
24 // TODO(stevenjb): Provide all configuration properties and types, 24 // TODO(stevenjb): Provide all configuration properties and types,
25 // crbug.com/380937. 25 // crbug.com/380937.
26 // <br><br> 26 // <br><br>
27 // TODO(stevenjb/pneubeck): Merge the ONC documentation with this document and 27 // TODO(stevenjb/pneubeck): Merge the ONC documentation with this document and
28 // use it as the ONC specification. 28 // use it as the ONC specification.
29 29
30 namespace networkingPrivate { 30 [use_movable_types=true] namespace networkingPrivate {
31 enum ActivationStateType { 31 enum ActivationStateType {
32 Activated, Activating, NotActivated, PartiallyActivated 32 Activated, Activating, NotActivated, PartiallyActivated
33 }; 33 };
34 34
35 enum CaptivePortalStatus { 35 enum CaptivePortalStatus {
36 Unknown, Offline, Online, Portal, ProxyAuthRequired 36 Unknown, Offline, Online, Portal, ProxyAuthRequired
37 }; 37 };
38 38
39 enum ConnectionStateType { 39 enum ConnectionStateType {
40 Connected, Connecting, NotConnected 40 Connected, Connecting, NotConnected
(...skipping 1003 matching lines...) Expand 10 before | Expand all | Expand 10 after
1044 // Fired when the list of devices has changed or any device state properties 1044 // Fired when the list of devices has changed or any device state properties
1045 // have changed. 1045 // have changed.
1046 static void onDeviceStateListChanged(); 1046 static void onDeviceStateListChanged();
1047 1047
1048 // Fired when a portal detection for a network completes. Sends the guid of 1048 // Fired when a portal detection for a network completes. Sends the guid of
1049 // the network and the corresponding captive portal status. 1049 // the network and the corresponding captive portal status.
1050 static void onPortalDetectionCompleted(DOMString networkGuid, 1050 static void onPortalDetectionCompleted(DOMString networkGuid,
1051 CaptivePortalStatus status); 1051 CaptivePortalStatus status);
1052 }; 1052 };
1053 }; 1053 };
OLDNEW
« no previous file with comments | « extensions/common/api/networking_config.idl ('k') | extensions/common/api/power.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698