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

Side by Side Diff: ui/file_manager/zip_archiver/js/volume.js

Issue 2822673002: Change the copyright from Chromium OS to Chromium. (Closed)
Patch Set: 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 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 * The time we get from the archive is in local time. 9 * The time we get from the archive is in local time.
10 * @param {number} timestamp A c/c++ time_t variable. 10 * @param {number} timestamp A c/c++ time_t variable.
11 * @return {!Date} 11 * @return {!Date}
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 var entryMetadata = this.metadata; 340 var entryMetadata = this.metadata;
341 for (var i = 0, limit = pathArray.length; i < limit; i++) { 341 for (var i = 0, limit = pathArray.length; i < limit; i++) {
342 if (!entryMetadata || 342 if (!entryMetadata ||
343 !entryMetadata.isDirectory && i != limit - 1 /* Parent directory. */) 343 !entryMetadata.isDirectory && i != limit - 1 /* Parent directory. */)
344 return null; 344 return null;
345 entryMetadata = entryMetadata.entries[pathArray[i]]; 345 entryMetadata = entryMetadata.entries[pathArray[i]];
346 } 346 }
347 347
348 return entryMetadata; 348 return entryMetadata;
349 }; 349 };
OLDNEW
« no previous file with comments | « ui/file_manager/zip_archiver/js/request.js ('k') | ui/file_manager/zip_archiver/unpacker-test/cpp/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698