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

Side by Side Diff: ui/file_manager/zip_archiver/js/request.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
1 // Copyright 2014 The Chromium OS Authors. All rights reserved. 1 // Copyright 2014 The Chromium OS Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 'use strict'; 5 'use strict';
6 6
7 /** 7 /**
8 * Defines the protocol used to communicate between JS and NaCL. 8 * Defines the protocol used to communicate between JS and NaCL.
9 * This should be consistent with cpp/request.h. 9 * This should be consistent with cpp/request.h.
10 * @namespace 10 * @namespace
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 */ 355 */
356 createCloseArchiveRequest: function(compressorId, hasError) { 356 createCloseArchiveRequest: function(compressorId, hasError) {
357 var request = {}; 357 var request = {};
358 request[unpacker.request.Key.OPERATION] = 358 request[unpacker.request.Key.OPERATION] =
359 unpacker.request.Operation.CLOSE_ARCHIVE; 359 unpacker.request.Operation.CLOSE_ARCHIVE;
360 request[unpacker.request.Key.COMPRESSOR_ID] = compressorId; 360 request[unpacker.request.Key.COMPRESSOR_ID] = compressorId;
361 request[unpacker.request.Key.HAS_ERROR] = hasError; 361 request[unpacker.request.Key.HAS_ERROR] = hasError;
362 return request; 362 return request;
363 } 363 }
364 }; 364 };
OLDNEW
« no previous file with comments | « ui/file_manager/zip_archiver/js/passphrase-manager.js ('k') | ui/file_manager/zip_archiver/js/types.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698