Update broken references to image assets
[chromium-blink-merge.git] / chrome / browser / resources / downloads / externs.js
blob4b94b85104b44dfa8a6b058130f2b71ae9293cfa
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 /**
6  * @fileoverview Externs for objects sent from C++ to JS for chrome://downloads.
7  * @externs
8  */
10 var downloads = {};
12 /**
13  * The type of the download object. The definition is based on
14  * chrome/browser/ui/webui/downloads_dom_handler.cc:CreateDownloadItemValue()
15  * @typedef {{by_ext_id: (string|undefined),
16  *            by_ext_name: (string|undefined),
17  *            danger_type: (string|undefined),
18  *            date_string: string,
19  *            file_externally_removed: boolean,
20  *            file_name: string,
21  *            file_path: string,
22  *            file_url: string,
23  *            id: string,
24  *            last_reason_text: (string|undefined),
25  *            otr: boolean,
26  *            percent: (number|undefined),
27  *            progress_status_text: (string|undefined),
28  *            received: (number|undefined),
29  *            resume: boolean,
30  *            retry: boolean,
31  *            since_string: string,
32  *            started: number,
33  *            state: string,
34  *            total: number,
35  *            url: string}}
36  */
37 downloads.Data;