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

Side by Side Diff: ui/file_manager/externs/background/media_import_handler.js

Issue 2883263002: Stop foreground depending on background in gyp v2 (Closed)
Patch Set: Format. Created 3 years, 7 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
(Empty)
1 // Copyright 2017 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.
4
5 // Namespace
6 var importer;
7
8 importer.MediaImportHandler;
9
10 /**
11 * Note that this isn't an actual FileOperationManager.Task. It currently uses
12 * the FileOperationManager (and thus *spawns* an associated
13 * FileOperationManager.CopyTask) but this is a temporary state of affairs.
14 *
15 * @constructor
16 * @struct
17 */
18 importer.MediaImportHandler.ImportTask = function() {};
19
20 /** @struct */
21 importer.MediaImportHandler.ImportTask.prototype = {
22 /** @return {!Promise} Resolves when task
23 is complete, or cancelled, rejects on error. */
24 get whenFinished() {}
25 };
26
27 /**
28 * Request cancellation of this task. An update will be sent to observers once
29 * the task is actually cancelled.
30 */
31 importer.MediaImportHandler.ImportTask.prototype.requestCancel = function() {};
OLDNEW
« no previous file with comments | « ui/file_manager/externs/background/import_runner.js ('k') | ui/file_manager/externs/background/media_scanner.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698