Chromium Code Reviews| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 59 { | 59 { |
| 60 "name": "properties", | 60 "name": "properties", |
| 61 "$ref": "NetworkProperties", | 61 "$ref": "NetworkProperties", |
| 62 "description": "Results of the query for network properties." | 62 "description": "Results of the query for network properties." |
| 63 } | 63 } |
| 64 ] | 64 ] |
| 65 } | 65 } |
| 66 ] | 66 ] |
| 67 }, | 67 }, |
| 68 { | 68 { |
| 69 "name": "getState", | |
| 70 "description": "Gets the cached read-only properties of the network with id networkGuid.", | |
|
pneubeck (no reviews)
2013/03/07 13:06:18
Mention here and at getVisibleNetworks, that both
Greg Spencer (Chromium)
2013/03/07 22:01:23
Good point. Done.
| |
| 71 "parameters": [ | |
| 72 { | |
| 73 "name": "networkGuid", | |
| 74 "type": "string", | |
| 75 "description": "The unique identifier of the network to set properti es on." | |
| 76 }, | |
| 77 { | |
| 78 "name": "callback", | |
| 79 "type": "function", | |
| 80 "parameters": [ | |
| 81 { | |
| 82 "name": "properties", | |
| 83 "$ref": "NetworkProperties", | |
| 84 "description": "Results of the query for network properties." | |
| 85 } | |
| 86 ] | |
| 87 } | |
| 88 ] | |
| 89 }, | |
| 90 { | |
| 91 "name": "setProperties", | |
| 92 "description": "Sets the properties of the network with id networkGuid." , | |
| 93 "parameters": [ | |
| 94 { | |
| 95 "name": "networkGuid", | |
| 96 "type": "string", | |
| 97 "description": "The unique identifier of the network to set properti es on." | |
| 98 }, | |
| 99 { | |
| 100 "name": "properties", | |
| 101 "$ref": "NetworkProperties", | |
| 102 "description": "The properties to set on the network." | |
| 103 }, | |
| 104 { | |
| 105 "name": "callback", | |
| 106 "type": "function", | |
| 107 "parameters": [] | |
| 108 } | |
| 109 ] | |
| 110 }, | |
| 111 { | |
| 69 "name": "getVisibleNetworks", | 112 "name": "getVisibleNetworks", |
| 70 "description": "Gets the list of visible networks.", | 113 "description": "Gets the list of visible networks.", |
| 71 "parameters": [ | 114 "parameters": [ |
| 72 { | 115 { |
| 73 "name": "type", | 116 "name": "type", |
| 74 "type": "string", | 117 "type": "string", |
| 75 "enum": ["Ethernet", "WiFi", "Bluetooth", "Cellular", "VPN", "All"], | 118 "enum": ["Ethernet", "WiFi", "Bluetooth", "Cellular", "VPN", "All"], |
| 76 "description": "The type of networks to return." | 119 "description": "The type of networks to return." |
| 77 }, | 120 }, |
| 78 { | 121 { |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 223 { | 266 { |
| 224 "name": "changes", | 267 "name": "changes", |
| 225 "type": "array", | 268 "type": "array", |
| 226 "items": { "type": "string" } | 269 "items": { "type": "string" } |
| 227 } | 270 } |
| 228 ] | 271 ] |
| 229 } | 272 } |
| 230 ] | 273 ] |
| 231 } | 274 } |
| 232 ] | 275 ] |
| OLD | NEW |