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

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

Issue 2640673002: (WIP) Use generator to generate externs for chrome.fileManagerPrivate API.
Patch Set: Compile passes Created 3 years, 11 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/media_import_handler.js
diff --git a/ui/file_manager/file_manager/background/js/media_import_handler.js b/ui/file_manager/file_manager/background/js/media_import_handler.js
index 66d708735ed82917a6961313da72307528f9ad1e..007dc1a9e1b28cda0d57f5005b3542d616da5e1d 100644
--- a/ui/file_manager/file_manager/background/js/media_import_handler.js
+++ b/ui/file_manager/file_manager/background/js/media_import_handler.js
@@ -173,7 +173,8 @@ importer.MediaImportHandler.prototype.onFileImported_ =
// Tag the import with a private drive property.
chrome.fileManagerPrivate.setEntryTag(
info.destination,
- 'private', // Scoped to just this app.
+ // Scoped to just this app.
+ chrome.fileManagerPrivate.EntryTagVisibility.PRIVATE,
importer.MediaImportHandler.IMPORTS_TAG_KEY,
importer.MediaImportHandler.IMPORTS_TAG_VALUE,
function() {

Powered by Google App Engine
This is Rietveld 408576698