| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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": "bookmarks", | 7 "namespace": "bookmarks", |
| 8 "description": "Use the <code>chrome.bookmarks</code> API to create, organiz
e, and otherwise manipulate bookmarks. Also see <a href='override'>Override Page
s</a>, which you can use to create a custom Bookmark Manager page.", | 8 "description": "Use the <code>chrome.bookmarks</code> API to create, organiz
e, and otherwise manipulate bookmarks. Also see <a href='override'>Override Page
s</a>, which you can use to create a custom Bookmark Manager page.", |
| 9 "properties": { | 9 "properties": { |
| 10 "MAX_WRITE_OPERATIONS_PER_HOUR": { | 10 "MAX_WRITE_OPERATIONS_PER_HOUR": { |
| 11 "value": 100, | 11 "value": 1000000, |
| 12 "description": "The maximum number of <code>move</code>, <code>update</c
ode>, <code>create</code>, or <code>remove</code> operations that can be perform
ed each hour. Updates that would cause this limit to be exceeded fail." | 12 "deprecated": "Bookmark write operations are no longer limited by Chrome
.", |
| 13 "description": "" |
| 13 }, | 14 }, |
| 14 "MAX_SUSTAINED_WRITE_OPERATIONS_PER_MINUTE": { | 15 "MAX_SUSTAINED_WRITE_OPERATIONS_PER_MINUTE": { |
| 15 "value": 2, | 16 "value": 1000000, |
| 16 "description": "The maximum number of <code>move</code>, <code>update</c
ode>, <code>create</code>, or <code>remove</code> operations that can be perform
ed each minute, sustained over 10 minutes. Updates that would cause this limit t
o be exceeded fail." | 17 "deprecated": "Bookmark write operations are no longer limited by Chrome
.", |
| 18 "description": "" |
| 17 } | 19 } |
| 18 }, | 20 }, |
| 19 "types": [ | 21 "types": [ |
| 20 { | 22 { |
| 21 "id": "BookmarkTreeNode", | 23 "id": "BookmarkTreeNode", |
| 22 "type": "object", | 24 "type": "object", |
| 23 "description": "A node (either a bookmark or a folder) in the bookmark t
ree. Child nodes are ordered within their parent folder.", | 25 "description": "A node (either a bookmark or a folder) in the bookmark t
ree. Child nodes are ordered within their parent folder.", |
| 24 "properties": { | 26 "properties": { |
| 25 "id": { | 27 "id": { |
| 26 "type": "string", | 28 "type": "string", |
| (...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 543 }, | 545 }, |
| 544 { | 546 { |
| 545 "name": "onImportEnded", | 547 "name": "onImportEnded", |
| 546 "type": "function", | 548 "type": "function", |
| 547 "description": "Fired when a bookmark import session is ended.", | 549 "description": "Fired when a bookmark import session is ended.", |
| 548 "parameters": [] | 550 "parameters": [] |
| 549 } | 551 } |
| 550 ] | 552 ] |
| 551 } | 553 } |
| 552 ] | 554 ] |
| OLD | NEW |