blob: 9042bd51300ec37a547f4d1818d64ff45ac82758 [file] [log] [blame]
// 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 a scanResult.
*
* @param {!importer.ScanResult} scanResult
* @param {!importer.Destination} destination
* @param {!Promise<!DirectoryEntry>} directoryPromise
*
* @return {!importer.MediaImportHandler.ImportTask} The media import task.
*/
importer.ImportRunner.prototype.importFromScanResult;