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

Unified Diff: ui/file_manager/file_manager/common/js/volume_manager_common.js

Issue 1010163002: Files.app: Fix closure error which will raised by the updated compiler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Define FakeEntry record type and use it. Created 5 years, 9 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/volume_manager_common.js
diff --git a/ui/file_manager/file_manager/common/js/volume_manager_common.js b/ui/file_manager/file_manager/common/js/volume_manager_common.js
index b6dfea53cb7cec15e906f35b76547912d036d4f6..f4210ade26782ad30005b52834ac44bde41565dc 100644
--- a/ui/file_manager/file_manager/common/js/volume_manager_common.js
+++ b/ui/file_manager/file_manager/common/js/volume_manager_common.js
@@ -193,3 +193,14 @@ VolumeManagerCommon.VolumeInfoProvider = function() {};
* @return {?VolumeInfo} The VolumeInfo instance or null if not found.
*/
VolumeManagerCommon.VolumeInfoProvider.prototype.getVolumeInfo;
+
+/**
+ * Fake entries for Google Drive's virtual folders.
+ * (OFFLINE, RECENT, and SHARED_WITH_ME)
+ * @typedef {?{
+ * isDirectory: boolean,
+ * rootType: VolumeManagerCommon.RootType,
+ * toURL: function(): string
+ * }}
+ */
+var FakeEntry;
« no previous file with comments | « ui/file_manager/file_manager/common/js/util.js ('k') | ui/file_manager/file_manager/foreground/js/directory_contents.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698