| Index: chrome/common/extensions/api/cloud_print_private.json
|
| diff --git a/chrome/common/extensions/api/cloud_print_private.json b/chrome/common/extensions/api/cloud_print_private.json
|
| index ca2c6a3abf2d30c8c7c1f18b8c749f35f3703990..c79a430be34ab94792dbd7f50bc083cec5cddc92 100644
|
| --- a/chrome/common/extensions/api/cloud_print_private.json
|
| +++ b/chrome/common/extensions/api/cloud_print_private.json
|
| @@ -6,6 +6,41 @@
|
| {
|
| "namespace": "cloudPrintPrivate",
|
| "nodoc": "true",
|
| + "types": [
|
| + {
|
| + "id": "PrinterSettings",
|
| + "type": "object",
|
| + "description": "Settings per printer.",
|
| + "properties": {
|
| + "name": {
|
| + "type": "string",
|
| + "description": "Unique printer id."
|
| + },
|
| + "connect": {
|
| + "type": "boolean",
|
| + "description": "Whether printer is selected."
|
| + }
|
| + }
|
| + },
|
| + {
|
| + "id": "UserSettings",
|
| + "type": "object",
|
| + "description": "Settings set by user.",
|
| + "properties": {
|
| + "printers": {
|
| + "description": "Printer settings.",
|
| + "type": "array",
|
| + "items": {
|
| + "$ref": "PrinterSettings"
|
| + }
|
| + },
|
| + "connectNewPrinters": {
|
| + "type": "boolean",
|
| + "description": "Whether should printer be connected."
|
| + }
|
| + }
|
| + }
|
| + ],
|
| "functions": [
|
| {
|
| "name": "setupConnector",
|
| @@ -28,15 +63,9 @@
|
| "description": "The login credentials(OAuth2 Auth code)."
|
| },
|
| {
|
| - "name": "connectNewPrinters",
|
| - "type": "boolean",
|
| - "description": "True if new printers should be connected."
|
| - },
|
| - {
|
| - "name": "printerBlacklist",
|
| - "description": "Printers that should not be connected.",
|
| - "type": "array",
|
| - "items": {"type": "string"}
|
| + "name": "userSettings",
|
| + "$ref": "UserSettings",
|
| + "description": "Options configured by user."
|
| }
|
| ]
|
| },
|
|
|