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

Unified Diff: ui/file_manager/file_manager/background/js/mock_media_scanner.js

Issue 980603003: Move content deduplication into the scan process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Respond to review comments. 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 side-by-side diff with in-line comments
Download patch
Index: ui/file_manager/file_manager/background/js/mock_media_scanner.js
diff --git a/ui/file_manager/file_manager/background/js/mock_media_scanner.js b/ui/file_manager/file_manager/background/js/mock_media_scanner.js
index 20191507ff32d0853509951aafb04a63411d301d..5c804aa82a2be1027946079aafee0480aca92c1f 100644
--- a/ui/file_manager/file_manager/background/js/mock_media_scanner.js
+++ b/ui/file_manager/file_manager/background/js/mock_media_scanner.js
@@ -115,9 +115,6 @@ function TestScanResult(fileEntries) {
/** @type {number} */
this.scanDuration = 100;
- /** @type {number} */
- this.duplicateFileCount = 0;
-
/** @type {function} */
this.resolveResult_;
@@ -171,7 +168,7 @@ TestScanResult.prototype.getStatistics = function() {
return {
scanDuration: this.scanDuration,
newFileCount: this.fileEntries.length,
- duplicateFileCount: this.duplicateFileCount,
+ duplicates: {},
sizeBytes: this.totalBytes
};
};

Powered by Google App Engine
This is Rietveld 408576698