| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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": "guestViewInternal", | 7 "namespace": "guestViewInternal", |
| 8 "compiler_options": { | 8 "compiler_options": { |
| 9 "implemented_in": "chrome/browser/extensions/api/guest_view/guest_view_int
ernal_api.h" | 9 "implemented_in": "chrome/browser/extensions/api/guest_view/guest_view_int
ernal_api.h" |
| 10 }, | 10 }, |
| 11 "description": "none", | 11 "description": "none", |
| 12 "functions": [ | 12 "functions": [ |
| 13 { | 13 { |
| 14 "name": "allocateInstanceId", | 14 "name": "createGuest", |
| 15 "type": "function", | 15 "type": "function", |
| 16 "parameters": [ | 16 "parameters": [ |
| 17 { | 17 { |
| 18 "type": "string", |
| 19 "name": "viewType", |
| 20 "nodoc": true |
| 21 }, |
| 22 { |
| 23 "type": "object", |
| 24 "name": "createParams", |
| 25 "properties": { |
| 26 "storagePartitionId": { |
| 27 "type": "string", |
| 28 "optional": true |
| 29 } |
| 30 } |
| 31 }, |
| 32 { |
| 18 "type": "function", | 33 "type": "function", |
| 19 "name": "callback", | 34 "name": "callback", |
| 20 "parameters": [ | 35 "parameters": [ |
| 21 { | 36 { |
| 22 "type": "integer", | 37 "type": "integer", |
| 23 "name": "instanceId" | 38 "name": "instanceId" |
| 24 } | 39 } |
| 25 ] | 40 ] |
| 26 } | 41 } |
| 27 ] | 42 ] |
| 28 } | 43 } |
| 29 ] | 44 ] |
| 30 } | 45 } |
| 31 ] | 46 ] |
| OLD | NEW |