OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 [ | 5 [ |
6 { | 6 { |
7 "namespace":"networkingPrivate", | 7 "namespace":"networkingPrivate", |
8 "compiler_options": { | 8 "compiler_options": { |
9 "implemented_in": "chrome/browser/chromeos/extensions/networking_private_a
pi.h" | 9 "implemented_in": "chrome/browser/chromeos/extensions/networking_private_a
pi.h" |
10 }, | 10 }, |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 "type": "function", | 95 "type": "function", |
96 "optional": true, | 96 "optional": true, |
97 "parameters": [], | 97 "parameters": [], |
98 "description": "A callback function that indicates that a disconnect
has been initiated." | 98 "description": "A callback function that indicates that a disconnect
has been initiated." |
99 } | 99 } |
100 ] | 100 ] |
101 } | 101 } |
102 ], | 102 ], |
103 "events": [ | 103 "events": [ |
104 { | 104 { |
105 "name": "onNetworkChanged", | 105 "name": "onNetworksChanged", |
106 "type": "function", | 106 "type": "function", |
107 "description": "Fired when the properties change on any of the networks.
Only contains the networks that changed, but each item contains all the proper
ties for the changed network.", | 107 "description": "Fired when the properties change on any of the networks.
Sends a list of identifiers for networks whose properties have changed.", |
108 "parameters": [ | 108 "parameters": [ |
109 { | 109 { |
110 "name": "changes", | 110 "name": "changes", |
111 "type": "array", | 111 "type": "array", |
112 "items": { "$ref": "NetworkProperties" } | 112 "items": { "type": "string" } |
| 113 } |
| 114 ] |
| 115 }, |
| 116 { |
| 117 "name": "onNetworkListChanged", |
| 118 "type": "function", |
| 119 "description": "Fired when the list of networks has changed. Sends a co
mplete list of identifiers for all the current networks.", |
| 120 "parameters": [ |
| 121 { |
| 122 "name": "changes", |
| 123 "type": "array", |
| 124 "items": { "type": "string" } |
113 } | 125 } |
114 ] | 126 ] |
115 } | 127 } |
116 ] | 128 ] |
117 } | 129 } |
118 ] | 130 ] |
OLD | NEW |