| OLD | NEW |
| 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 'use strict'; | 5 'use strict'; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * Scanner of the entries. | 8 * Scanner of the entries. |
| 9 * @constructor | 9 * @constructor |
| 10 */ | 10 */ |
| (...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 759 context, fakeDirectoryEntry, driveDirectoryEntry, query, searchType) { | 759 context, fakeDirectoryEntry, driveDirectoryEntry, query, searchType) { |
| 760 return new DirectoryContents( | 760 return new DirectoryContents( |
| 761 context, | 761 context, |
| 762 true, // Search | 762 true, // Search |
| 763 fakeDirectoryEntry, | 763 fakeDirectoryEntry, |
| 764 driveDirectoryEntry, | 764 driveDirectoryEntry, |
| 765 function() { | 765 function() { |
| 766 return new DriveMetadataSearchContentScanner(query, searchType); | 766 return new DriveMetadataSearchContentScanner(query, searchType); |
| 767 }); | 767 }); |
| 768 }; | 768 }; |
| OLD | NEW |