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

Unified Diff: ui/file_manager/file_manager/common/js/importer_common.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/common/js/importer_common.js
diff --git a/ui/file_manager/file_manager/common/js/importer_common.js b/ui/file_manager/file_manager/common/js/importer_common.js
index 00b41d7790d70aaab680355df076030b7754bf0e..65b5203686561ab2a6666616e9eeee1b3d03a183 100644
--- a/ui/file_manager/file_manager/common/js/importer_common.js
+++ b/ui/file_manager/file_manager/common/js/importer_common.js
@@ -13,6 +13,18 @@ importer.ScanEvent = {
};
/**
+ * Disposition of an entry with respect to it's
+ * presence in import history, drive, and so on.
+ * @enum {string}
+ */
+importer.Disposition = {
+ CONTENT_DUPLICATE: 'content-dupe',
+ HISTORY_DUPLICATE: 'history-dupe',
+ ORIGINAL: 'original',
+ SCAN_DUPLICATE: 'scan-dupe'
+};
+
+/**
* Storage keys for settings saved by importer.
* @enum {string}
*/

Powered by Google App Engine
This is Rietveld 408576698