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

Side by Side Diff: chrome/common/extensions/api/downloads.idl

Issue 16876004: Updating JSON Schema Compiler to add description field to schemas. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 6 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 unified diff | Download patch
OLDNEW
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 // Use the <code>chrome.downloads</code> API to programmatically initiate,
6 // monitor, manipulate, and search for downloads.
5 [permissions=downloads] 7 [permissions=downloads]
6 namespace downloads { 8 namespace downloads {
7 [inline_doc] dictionary HeaderNameValuePair { 9 [inline_doc] dictionary HeaderNameValuePair {
8 // Name of the HTTP header. 10 // Name of the HTTP header.
9 DOMString name; 11 DOMString name;
10 12
11 // Value of the HTTP header. 13 // Value of the HTTP header.
12 DOMString value; 14 DOMString value;
13 }; 15 };
14 16
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 // <code>suggestion</code> object to <code>suggest</code> wins. In order to 470 // <code>suggestion</code> object to <code>suggest</code> wins. In order to
469 // avoid confusion regarding which extension will win, users should not 471 // avoid confusion regarding which extension will win, users should not
470 // install extensions that may conflict. If the download is initiated by 472 // install extensions that may conflict. If the download is initiated by
471 // $ref:download and the target filename is known before the MIME type and 473 // $ref:download and the target filename is known before the MIME type and
472 // tentative filename have been determined, pass <code>filename</code> to 474 // tentative filename have been determined, pass <code>filename</code> to
473 // $ref:download instead. 475 // $ref:download instead.
474 [maxListeners=1] static void onDeterminingFilename( 476 [maxListeners=1] static void onDeterminingFilename(
475 DownloadItem downloadItem, SuggestFilenameCallback suggest); 477 DownloadItem downloadItem, SuggestFilenameCallback suggest);
476 }; 478 };
477 }; 479 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698