| OLD | NEW |
| 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"> |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 DOMString? Language; | 53 DOMString? Language; |
| 54 DOMString? LocalizedName; | 54 DOMString? LocalizedName; |
| 55 DOMString? Name; | 55 DOMString? Name; |
| 56 DOMString? Password; | 56 DOMString? Password; |
| 57 DOMString? Username; | 57 DOMString? Username; |
| 58 }; | 58 }; |
| 59 | 59 |
| 60 dictionary CellularConfigProperties { | 60 dictionary CellularConfigProperties { |
| 61 boolean? AutoConnect; | 61 boolean? AutoConnect; |
| 62 APNProperties? APN; | 62 APNProperties? APN; |
| 63 |
| 64 // Specifies which carrier to use for Cellular configurations that support |
| 65 // multiple carriers. May be set with $(ref:setProperties), but will be |
| 66 // ignored by $(ref:createConfiguration). |
| 67 DOMString? Carrier; |
| 63 }; | 68 }; |
| 64 | 69 |
| 65 dictionary CellularStateProperties { | 70 dictionary CellularStateProperties { |
| 66 ActivationStateType? ActivationState; | 71 ActivationStateType? ActivationState; |
| 67 DOMString? NetworkTechnology; | 72 DOMString? NetworkTechnology; |
| 68 DOMString? RoamingState; | 73 DOMString? RoamingState; |
| 69 long? SignalStrength; | 74 long? SignalStrength; |
| 70 }; | 75 }; |
| 71 | 76 |
| 72 dictionary EthernetStateProperties { | 77 dictionary EthernetStateProperties { |
| (...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 // Fired when the list of networks has changed. Sends a complete list of | 413 // Fired when the list of networks has changed. Sends a complete list of |
| 409 // GUIDs for all the current networks. | 414 // GUIDs for all the current networks. |
| 410 static void onNetworkListChanged(DOMString[] changes); | 415 static void onNetworkListChanged(DOMString[] changes); |
| 411 | 416 |
| 412 // Fired when a portal detection for a network completes. Sends the guid of | 417 // Fired when a portal detection for a network completes. Sends the guid of |
| 413 // the network and the corresponding captive portal status. | 418 // the network and the corresponding captive portal status. |
| 414 static void onPortalDetectionCompleted(DOMString networkGuid, | 419 static void onPortalDetectionCompleted(DOMString networkGuid, |
| 415 CaptivePortalStatus status); | 420 CaptivePortalStatus status); |
| 416 }; | 421 }; |
| 417 }; | 422 }; |
| OLD | NEW |