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

Unified Diff: chrome/common/extensions/api/webstorePrivate.json

Issue 10272021: Files generated by the JSON schema compiler are named incorrectly (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Minor changes Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/webstorePrivate.json
diff --git a/chrome/common/extensions/api/webstorePrivate.json b/chrome/common/extensions/api/webstorePrivate.json
deleted file mode 100644
index 64db63cf51d4acc278ec4c58c19e865879ba032e..0000000000000000000000000000000000000000
--- a/chrome/common/extensions/api/webstorePrivate.json
+++ /dev/null
@@ -1,269 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-[
- {
- "namespace":"webstorePrivate",
- "nodoc": "true",
- "functions": [
- {
- "name": "install",
- "description": "Installs the extension corresponding to the given id",
- "parameters": [
- {
- "name": "expected_id",
- "type": "string",
- "description": "The id of the extension to install."
- },
- {
- "name": "callback",
- "type": "function",
- "optional": "true",
- "parameters": []
- }
- ]
- },
- {
- "name": "installBundle",
- "description": "Initiates the install process for the given bundle of extensions.",
- "parameters": [
- {
- "name": "details",
- "description": "An array of extension details to be installed.",
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The id of the extension to be installed.",
- "minLength": 32,
- "maxLength": 32
- },
- "manifest": {
- "type": "string",
- "description": "A string with the contents of the extension's manifest.json file. During the install process, the browser will check that the downloaded extension's manifest matches what was passed in here.",
- "minLength": 1
- },
- "localizedName": {
- "type": "string",
- "description": "A string to use instead of the raw value of the 'name' key from manifest.json."
- }
- }
- }
- },
- {
- "name": "callback",
- "type": "function",
- "description": "Called when the install process completes. Upon failures, chrome.extension.lastError will be set to 'user_canceled' or 'unknown_error'.",
- "optional": "true",
- "parameters": []
- }
- ]
- },
- {
- "name": "beginInstallWithManifest3",
- "description": "Initiates the install process for the given extension.",
- "parameters": [
- {
- "name": "details",
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The id of the extension to be installled.",
- "minLength": 32,
- "maxLength": 32
- },
- "manifest": {
- "type": "string",
- "description": "A string with the contents of the extension's manifest.json file. During the install process, the browser will check that the downloaded extension's manifest matches what was passed in here.",
- "minLength": 1
- },
- "iconUrl": {
- "type": "string",
- "optional": true,
- "desciption": "A URL for the image to display in the confirmation dialog"
- },
- "iconData": {
- "type": "string",
- "optional": true,
- "description": "An icon as a base64-encoded image, displayed in a confirmation dialog."
- },
- "localizedName": {
- "type": "string",
- "optional": true,
- "description": "A string to use instead of the raw value of the 'name' key from manifest.json."
- },
- "locale": {
- "type": "string",
- "optional": true,
- "description": "The name of the locale used for generating localizedName. This should be the name of one of the directories in the _locales folder of the extension, or the default_locale setting from the manifest."
- },
- "appInstallBubble": {
- "type": "boolean",
- "optional": true,
- "description": "A flag to change the UI we show when an app is installed - a value of true means to show a bubble pointing at the new tab button (instead of the default behavior of opening the new tab page and animating the app icon)."
- }
- },
- "additionalProperties": { "type": "any" }
- },
- {
- "name": "callback",
- "type": "function",
- "description": "Called when the user has either accepted/rejected the dialog, or some error occurred (such as invalid manifest or icon image data).",
- "optional": "true",
- "parameters": [
- {
- "name": "result",
- "type": "string",
- "description": "A string result code, which will be empty upon success. The possible values in the case of errors include 'unknown_error', 'user_cancelled', 'manifest_error', 'icon_error', 'invalid_id', 'permission_denied', and 'invalid_icon_url'."
- }
- ]
- }
- ]
-
- },
- {
- "name": "completeInstall",
- "description": "",
- "parameters": [
- {
- "name": "expected_id",
- "type": "string",
- "description": "The id of the extension to be installed. This should match a previous call to beginInstallWithManifest3."
- },
- {
- "name": "callback",
- "type": "function",
- "optional": "true",
- "parameters": []
- }
- ]
- },
- {
- "name": "silentlyInstall",
- "description": "Silently installs the specified extension, which must already be whitelisted in Chrome.",
- "parameters": [
- {
- "name": "details",
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The id of the extension to be installled.",
- "minLength": 32,
- "maxLength": 32
- },
- "manifest": {
- "type": "string",
- "description": "A string with the contents of the extension's manifest.json file. During the install process, the browser will check that the downloaded extension's manifest matches what was passed in here.",
- "minLength": 1
- }
- }
- },
- {
- "name": "callback",
- "type": "function",
- "description": "Called when the extension installation has completed. chrome.extension.lastError may be set if the extension install failed.",
- "optional": "true",
- "parameters": []
- }
- ]
- },
- {
- "name": "getBrowserLogin",
- "description": "Returns the logged-in sync user login if there is one, or the empty string otherwise.",
- "parameters": [
- {
- "name": "callback",
- "type": "function",
- "optional": "false",
- "parameters": [
- {
- "name": "info",
- "type": "object",
- "properties": {
- "login": { "type": "string" },
- "token": { "type": "string", "optional": true }
- }
- }
- ]
- }
- ]
- },
- {
- "name": "getStoreLogin",
- "description": "Returns the previous value set by setStoreLogin, or the empty string if there is none.",
- "parameters": [
- {
- "name": "callback",
- "type": "function",
- "optional": "false",
- "parameters": [
- { "name": "login", "type": "string" }
- ]
- }
- ]
- },
- {
- "name": "setStoreLogin",
- "description": "Sets a preference value with the store login.",
- "parameters": [
- { "name": "login", "type": "string" },
- {
- "name": "callback",
- "type": "function",
- "optional": "true",
- "parameters": []
- }
- ]
- },
- {
- "name": "promptBrowserLogin",
- "description": "Causes the browser to bring up the browser login UI.",
- "parameters": [
- {
- "name": "preferred_email",
- "type": "string",
- "description": "The email address to use to pre-populate the login dialog (can be an empty string)."
- },
- {
- "name": "callback",
- "type": "function",
- "optional": "true",
- "parameters": [
- {
- "name": "info",
- "type": "object",
- "properties": {
- "login": { "type": "string", "optional": true },
- "token": { "type": "string", "optional": true }
- }
- }
- ]
- }
- ]
- },
- {
- "name": "getWebGLStatus",
- "description": "Invokes a callback that returns whether WebGL is blacklisted or not.",
- "parameters": [
- {
- "name": "callback",
- "type": "function",
- "optional": "false",
- "parameters": [
- {
- "name": "webgl_status",
- "type": "string",
- "enum": ["webgl_allowed", "webgl_blocked"]
- }
- ]
- }
- ]
- }
- ]
- }
-]
« no previous file with comments | « chrome/common/extensions/api/web_socket_proxy_private.json ('k') | chrome/common/extensions/api/webstore_private.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698