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

Side by Side Diff: ui/file_manager/zip_archiver/unpacker/js/types.js

Issue 2804453002: Move files from zip_archiver/unpacker/ to zip_archiver/. (Closed)
Patch Set: Move files from zip_archiver/unpacker/ to zip_archiver/. Created 3 years, 8 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 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.
4
5 'use strict';
6
7 /**
8 * Namespace for custom types.
9 * @namespace
10 */
11 unpacker.types = {};
12
13 /** @typedef {string} */
14 unpacker.types.FileSystemId;
15
16 /** @typedef {number} */
17 unpacker.types.RequestId;
18
19 /** @typedef {number} */
20 unpacker.types.CompressorId;
21
22 /** @typedef {number} */
23 unpacker.types.EntryId;
24
25 /**
26 * @see
27 * https://developer.chrome.com/apps/fileSystemProvider#event-onUnmountRequested
28 * @typedef {!Object<{fileSystemId: !unpacker.types.FileSystemId,
29 * requestId: !unpacker.types.RequestId}>}
30 */
31 unpacker.types.UnmountRequestedOptions;
32
33 /**
34 * @see
35 * https://developer.chrome.com/apps/fileSystemProvider#event-onGetMetadataReque sted
36 * @typedef {!Object<{fileSystemId: !unpacker.types.FileSystemId,
37 * requestId: !unpacker.types.RequestId,
38 * entryPath: string,
39 * thumbnail: boolean}>}
40 */
41 unpacker.types.GetMetadataRequestedOptions;
42
43 /**
44 * @see
45 * https://developer.chrome.com/apps/fileSystemProvider#event-onReadDirectoryReq uested
46 * @typedef {!Object<{fileSystemId: !unpacker.types.FileSystemId,
47 * requestId: !unpacker.types.RequestId,
48 * directoryPath: string}>}
49 */
50 unpacker.types.ReadDirectoryRequestedOptions;
51
52 /**
53 * @see
54 * https://developer.chrome.com/apps/fileSystemProvider#event-onOpenFileRequeste d
55 * @typedef {!Object<{fileSystemId: !unpacker.types.FileSystemId,
56 * requestId: !unpacker.types.RequestId,
57 * filePath: string,
58 * mode: !OpenFileMode}>}
59 */
60 unpacker.types.OpenFileRequestedOptions;
61
62 /**
63 * @see
64 * https://developer.chrome.com/apps/fileSystemProvider#event-onCloseFileRequest ed
65 * @typedef {!Object<{fileSystemId: !unpacker.types.FileSystemId,
66 * requestId: !unpacker.types.RequestId,
67 * openRequestId: !unpacker.types.RequestId}>}
68 */
69 unpacker.types.CloseFileRequestedOptions;
70
71 /**
72 * @see
73 * https://developer.chrome.com/apps/fileSystemProvider#event-onReadFileRequeste d
74 * @typedef {!Object<{fileSystemId: !unpacker.types.FileSystemId,
75 * requestId: !unpacker.types.RequestId,
76 * openRequestId: !unpacker.types.RequestId,
77 * offset: number,
78 * length: number}>}
79 */
80 unpacker.types.ReadFileRequestedOptions;
OLDNEW
« no previous file with comments | « ui/file_manager/zip_archiver/unpacker/js/request.js ('k') | ui/file_manager/zip_archiver/unpacker/js/unpacker.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698