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

Unified Diff: ui/file_manager/zip_archiver/js/request.js

Issue 2807063002: Replace Libarchive with MiniZip. (Closed)
Patch Set: Fix a few nits. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/file_manager/zip_archiver/js/passphrase-dialog.js ('k') | ui/file_manager/zip_archiver/js/volume.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/zip_archiver/js/request.js
diff --git a/ui/file_manager/zip_archiver/js/request.js b/ui/file_manager/zip_archiver/js/request.js
index b0dcb001e7df4364deaac91e8b70eafac226f796..8718cfebc6fe6647dc59fe65615bb733a00efaee 100644
--- a/ui/file_manager/zip_archiver/js/request.js
+++ b/ui/file_manager/zip_archiver/js/request.js
@@ -32,6 +32,10 @@ unpacker.request = {
READ_FILE_DATA: 'read_file_data', // Should be an ArrayBuffer.
HAS_MORE_DATA: 'has_more_data', // Should be a boolean.
PASSPHRASE: 'passphrase', // Should be a string.
+ SRC_FILE: 'src_file', // Should be a string.
+ SRC_LINE: 'src_line', // Should be a int.
+ SRC_FUNC: 'src_func', // Should be a string.
+ MESSAGE: 'message', // Should be a string.
// Mandatory keys for all packing operations.
COMPRESSOR_ID: 'compressor_id', // Should be an int.
@@ -51,11 +55,7 @@ unpacker.request = {
ERROR: 'error', // Should be a string.
CHUNK_BUFFER: 'chunk_buffer', // Should be an ArrayBuffer.
OFFSET: 'offset', // Should be a string. Same reason as ARCHIVE_SIZE.
- LENGTH: 'length', // Should be a string. Same reason as ARCHIVE_SIZE.
- SRC_FILE: 'src_file', // Should be a string.
- SRC_LINE: 'src_line', // Should be a int.
- SRC_FUNC: 'src_func', // Should be a string.
- MESSAGE: 'message', // Should be a string.
+ LENGTH: 'length' // Should be a string. Same reason as ARCHIVE_SIZE.
},
/**
@@ -67,7 +67,6 @@ unpacker.request = {
* @enum {number}
*/
Operation: {
- READ_METADATA: 0,
READ_METADATA_DONE: 1,
READ_CHUNK: 2,
READ_CHUNK_DONE: 3,
« no previous file with comments | « ui/file_manager/zip_archiver/js/passphrase-dialog.js ('k') | ui/file_manager/zip_archiver/js/volume.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698