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

Unified Diff: chrome/common/extensions/api/experimental.mediaGalleries.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/experimental.mediaGalleries.json
diff --git a/chrome/common/extensions/api/experimental.mediaGalleries.json b/chrome/common/extensions/api/experimental.mediaGalleries.json
deleted file mode 100644
index c9d3cd1e6c7711bc749da44ca1107d710ec74041..0000000000000000000000000000000000000000
--- a/chrome/common/extensions/api/experimental.mediaGalleries.json
+++ /dev/null
@@ -1,92 +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": "experimental.mediaGalleries",
- "functions": [
- {
- "name": "getMediaFileSystems",
- "type": "function",
- "description": "Get the media galleries configured in this user agent. If none are configured or available, the callback will receive an empty array.",
- "parameters": [
- {
- "type": "function",
- "name": "callback",
- "parameters": [
- {
- "name": "mediaFileSystems",
- "type": "array",
- // TODO(vandebo) Specify the item type with isInstanceOf when
- // http://crbug.com/119372 is resolved.
- "items": { "type": "object"}
- }
- ]
- }
- ]
- },
- {
- "name": "openMediaGalleryManager",
- "type": "function",
- "description": "The user can configure which directories on their computer are exposed as media galleries. Calling this function will cause the UI which configures media galleris to be visible in the current tab.",
- "parameters": []
- },
- {
- "name": "extractEmbeddedThumbnails",
- "type": "function",
- "description": "Get any thumbnails contained in the passed media file. The resulting directory reader refers to a virtual directory that can not be navigated to. If there are no thumbnails in the passed file entry, the virtual directory will have no entries.",
- "parameters": [
- {
- // TODO(vandebo) Make this a non-optional FileEntry when
- // http://crbug.com/119372 is resolved.
- "type": "object",
- "optional": true,
- "name": "mediaFile"
- }
- ],
- "returns": {
- "type": "object",
- "optional": true
- }
- },
- {
- "name": "assembleMediaFile",
- "type": "function",
- "description": "Create a new MediaFile setting the metadata in the Blob to the supplied values, overriding any existing metadata in the media file. If user agent does not recognize the Blob as a supported file format, it will return null in the callback.",
- // TODO(vandebo) Remove allowAmbiguousOptionalArguments when
- // http://crbug.com/119372 is resolved.
- "allowAmbiguousOptionalArguments": true,
- "parameters": [
- {
- // TODO(vandebo) Make this a non-optional Blob when
- // http://crbug.com/119372 is resolved.
- "type": "object",
- "optional": true,
- "name": "mediaFileContents"
- },
- {
- // TODO(vandebo) Make this a non-optional Metafile when
- // http://crbug.com/119372 is resolved.
- "type": "object",
- "optional": true,
- "name": "metadata"
- },
- {
- "type": "function",
- "name": "callback",
- "parameters": [
- {
- "name": "mediaFile",
- // TODO(vandebo) Make this an optional Blob when
- // http://crbug.com/119372 is resolved.
- "type": "object",
- "optional": true
- }
- ]
- }
- ]
- }
- ]
- }
-]

Powered by Google App Engine
This is Rietveld 408576698