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

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

Issue 1028243007: Call Device.SetCarrier when the ONC Carrier property is specified. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@onc_clang
Patch Set: Fix components_unittests Created 5 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 | « components/wifi_sync/wifi_config_delegate_chromeos_unittest.cc ('k') | 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 // 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
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
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 };
OLDNEW
« no previous file with comments | « components/wifi_sync/wifi_config_delegate_chromeos_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698