summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/downloads/externs.js
blob: 510006818423a348e905ec616f29e03097839595 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2015 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.

/**
 * @fileoverview Externs for objects sent from C++ to JS for chrome://downloads.
 * @externs
 */

// eslint-disable-next-line no-var
var downloads = {};

/**
 * The type of the download object. The definition is based on the Data struct
 * in downloads.mojom.
 * @typedef {downloads.mojom.Data | {hideDate: boolean}}
 */
downloads.Data;