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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 }, | 92 }, |
93 { | 93 { |
94 "name": "callback", | 94 "name": "callback", |
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 ], |
| 103 "events": [ |
| 104 { |
| 105 "name": "onNetworkChanged", |
| 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.", |
| 108 "parameters": [ |
| 109 { |
| 110 "name": "changes", |
| 111 "type": "array", |
| 112 "items": { "$ref": "NetworkProperties" } |
| 113 } |
| 114 ] |
| 115 } |
102 ] | 116 ] |
103 } | 117 } |
104 ] | 118 ] |
OLD | NEW |