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

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

Issue 983823002: Use GUID instead of servicePath in network settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_430115_internet_options_enable_extension_apis
Patch Set: Feedback Created 5 years, 9 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
OLDNEW
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 "description": "none", 8 "description": "none",
9 "compiler_options": { 9 "compiler_options": {
10 "implemented_in": "extensions/browser/api/networking_private/networking_pr ivate_api.h" 10 "implemented_in": "extensions/browser/api/networking_private/networking_pr ivate_api.h"
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 "type": "string", 148 "type": "string",
149 "description": "The unique identifier of the network to set properti es on." 149 "description": "The unique identifier of the network to set properti es on."
150 }, 150 },
151 { 151 {
152 "name": "properties", 152 "name": "properties",
153 "$ref": "NetworkProperties", 153 "$ref": "NetworkProperties",
154 "description": "The properties to set on the network." 154 "description": "The properties to set on the network."
155 }, 155 },
156 { 156 {
157 "name": "callback", 157 "name": "callback",
158 "optional": true,
158 "type": "function", 159 "type": "function",
159 "parameters": [] 160 "parameters": []
160 } 161 }
161 ] 162 ]
162 }, 163 },
163 { 164 {
164 "name": "createNetwork", 165 "name": "createNetwork",
165 "description": "Creates a new network configuration from properties. If a matching configured network already exists, this will fail. Otherwise returns the guid of the new network.", 166 "description": "Creates a new network configuration from properties. If a matching configured network already exists, this will fail. Otherwise returns the guid of the new network.",
166 "parameters": [ 167 "parameters": [
167 { 168 {
168 "name": "shared", 169 "name": "shared",
169 "type": "boolean", 170 "type": "boolean",
170 "description": "If true, share this network configuration with other users." 171 "description": "If true, share this network configuration with other users."
171 }, 172 },
172 { 173 {
173 "name": "properties", 174 "name": "properties",
174 "$ref": "NetworkProperties", 175 "$ref": "NetworkProperties",
175 "description": "The properties to configure the new network with." 176 "description": "The properties to configure the new network with."
176 }, 177 },
177 { 178 {
178 "name": "callback", 179 "name": "callback",
180 "optional": true,
179 "type": "function", 181 "type": "function",
180 "parameters": [ 182 "parameters": [
181 { 183 {
182 "name": "networkGuid", 184 "name": "networkGuid",
183 "type": "string" 185 "type": "string"
184 } 186 }
185 ] 187 ]
186 } 188 }
187 ] 189 ]
188 }, 190 },
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 "type": "string", 443 "type": "string",
442 "description": "The IP or MAC address of the peer with which to enab le a TDLS connection." 444 "description": "The IP or MAC address of the peer with which to enab le a TDLS connection."
443 }, 445 },
444 { 446 {
445 "name": "enabled", 447 "name": "enabled",
446 "type": "boolean", 448 "type": "boolean",
447 "description": "If true, enable TDLS, otherwise disable TDLS." 449 "description": "If true, enable TDLS, otherwise disable TDLS."
448 }, 450 },
449 { 451 {
450 "name": "callback", 452 "name": "callback",
453 "optional": true,
451 "type": "function", 454 "type": "function",
452 "parameters": [ 455 "parameters": [
453 { 456 {
454 "name": "status", 457 "name": "status",
455 "type": "string" 458 "type": "string"
456 } 459 }
457 ], 460 ],
458 "description": "A callback function that receives a string with an e rror or the current TDLS status. 'Failed' indicates that the request failed (e.g . MAC address lookup failed). 'Timeout' indicates that the lookup timed out. Oth erwise a valid status is returned (see getWifiTDLSStatus)." 461 "description": "A callback function that receives a string with an e rror or the current TDLS status. 'Failed' indicates that the request failed (e.g . MAC address lookup failed). 'Timeout' indicates that the lookup timed out. Oth erwise a valid status is returned (see getWifiTDLSStatus)."
459 } 462 }
460 ] 463 ]
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 }, 543 },
541 { 544 {
542 "name": "status", 545 "name": "status",
543 "$ref": "CaptivePortalStatus" 546 "$ref": "CaptivePortalStatus"
544 } 547 }
545 ] 548 ]
546 } 549 }
547 ] 550 ]
548 } 551 }
549 ] 552 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698