| Index: ui/file_manager/externs/background/import_runner.js
|
| diff --git a/ui/file_manager/externs/background/import_runner.js b/ui/file_manager/externs/background/import_runner.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b15c2014ab7f0a7a1eac224922ca43683ee07263
|
| --- /dev/null
|
| +++ b/ui/file_manager/externs/background/import_runner.js
|
| @@ -0,0 +1,24 @@
|
| +// Copyright 2017 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
|
| +var importer;
|
| +
|
| +/**
|
| + * Interface providing access to information about active import processes.
|
| + *
|
| + * @interface
|
| + */
|
| +importer.ImportRunner = function() {};
|
| +
|
| +/**
|
| + * Imports all media identified by scanResult.
|
| + *
|
| + * @param {!importer.ScanResult} scanResult
|
| + * @param {!importer.Destination} destination
|
| + * @param {!Promise<!DirectoryEntry>} directoryPromise
|
| + *
|
| + * @return {!importer.MediaImportHandler.ImportTask} The resulting import task.
|
| + */
|
| +importer.ImportRunner.prototype.importFromScanResult;
|
|
|