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

Side by Side Diff: ui/file_manager/zip_archiver/js/volume.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
« no previous file with comments | « ui/file_manager/zip_archiver/js/unpacker.js ('k') | ui/file_manager/zip_archiver/manifest.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 * Converts a c/c++ time_t variable to Date. 8 * Converts a c/c++ time_t variable to Date.
9 * @param {number} timestamp A c/c++ time_t variable. 9 * @param {number} timestamp A c/c++ time_t variable.
10 * @return {!Date} 10 * @return {!Date}
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 var entryMetadata = this.metadata; 337 var entryMetadata = this.metadata;
338 for (var i = 0, limit = pathArray.length; i < limit; i++) { 338 for (var i = 0, limit = pathArray.length; i < limit; i++) {
339 if (!entryMetadata || 339 if (!entryMetadata ||
340 !entryMetadata.isDirectory && i != limit - 1 /* Parent directory. */) 340 !entryMetadata.isDirectory && i != limit - 1 /* Parent directory. */)
341 return null; 341 return null;
342 entryMetadata = entryMetadata.entries[pathArray[i]]; 342 entryMetadata = entryMetadata.entries[pathArray[i]];
343 } 343 }
344 344
345 return entryMetadata; 345 return entryMetadata;
346 }; 346 };
OLDNEW
« no previous file with comments | « ui/file_manager/zip_archiver/js/unpacker.js ('k') | ui/file_manager/zip_archiver/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698