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

Side by Side Diff: ui/file_manager/file_manager/foreground/js/directory_contents.js

Issue 942193002: Files.app: fix some closure compilation issues to unblock new compiler roll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 /** 5 /**
6 * Scanner of the entries. 6 * Scanner of the entries.
7 * @constructor 7 * @constructor
8 */ 8 */
9 function ContentScanner() { 9 function ContentScanner() {
10 this.cancelled_ = false; 10 this.cancelled_ = false;
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 this.metadataSnapshot_ = null; 621 this.metadataSnapshot_ = null;
622 } 622 }
623 623
624 /** 624 /**
625 * DirectoryContents extends cr.EventTarget. 625 * DirectoryContents extends cr.EventTarget.
626 */ 626 */
627 DirectoryContents.prototype.__proto__ = cr.EventTarget.prototype; 627 DirectoryContents.prototype.__proto__ = cr.EventTarget.prototype;
628 628
629 /** 629 /**
630 * Create the copy of the object, but without scan started. 630 * Create the copy of the object, but without scan started.
631 * @return {DirectoryContents} Object copy. 631 * @return {!DirectoryContents} Object copy.
632 */ 632 */
633 DirectoryContents.prototype.clone = function() { 633 DirectoryContents.prototype.clone = function() {
634 return new DirectoryContents( 634 return new DirectoryContents(
635 this.context_, 635 this.context_,
636 this.isSearch_, 636 this.isSearch_,
637 this.directoryEntry_, 637 this.directoryEntry_,
638 this.scannerFactory_); 638 this.scannerFactory_);
639 }; 639 };
640 640
641 /** 641 /**
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
1053 DirectoryContents.createForDriveMetadataSearch = function( 1053 DirectoryContents.createForDriveMetadataSearch = function(
1054 context, fakeDirectoryEntry, searchType) { 1054 context, fakeDirectoryEntry, searchType) {
1055 return new DirectoryContents( 1055 return new DirectoryContents(
1056 context, 1056 context,
1057 true, // Search 1057 true, // Search
1058 fakeDirectoryEntry, 1058 fakeDirectoryEntry,
1059 function() { 1059 function() {
1060 return new DriveMetadataSearchContentScanner(searchType); 1060 return new DriveMetadataSearchContentScanner(searchType);
1061 }); 1061 });
1062 }; 1062 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698