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

Unified Diff: chrome/browser/resources/file_manager/common/js/path_util.js

Issue 120533006: Stub for Privet file system (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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: chrome/browser/resources/file_manager/common/js/path_util.js
diff --git a/chrome/browser/resources/file_manager/common/js/path_util.js b/chrome/browser/resources/file_manager/common/js/path_util.js
index e21c5f665950def8e8d8a1b53682728a8ac224a9..947011d3409ff1fdeeb245da33be1d581cb598ca 100644
--- a/chrome/browser/resources/file_manager/common/js/path_util.js
+++ b/chrome/browser/resources/file_manager/common/js/path_util.js
@@ -22,6 +22,9 @@ var RootType = Object.freeze({
// Root of drive directory.
DRIVE: 'drive',
+ // Root for privet storage volume.
+ CLOUD_DEVICE: 'cloud_device',
+
// Root for entries that is not located under RootType.DRIVE. e.g. shared
// files.
DRIVE_OTHER: 'drive_other',
@@ -47,6 +50,7 @@ var RootDirectory = Object.freeze({
ARCHIVE: '/archive',
REMOVABLE: '/removable',
DRIVE: '/drive',
+ CLOUD_DEVICE: '/privet',
DRIVE_OFFLINE: '/drive_offline', // A fake root. Not the actual filesystem.
DRIVE_SHARED_WITH_ME: '/drive_shared_with_me', // A fake root.
DRIVE_RECENT: '/drive_recent' // A fake root.
@@ -401,4 +405,3 @@ PathUtil.splitExtension = function(path) {
var extension = dotPosition != -1 ? path.substr(dotPosition) : '';
return [filename, extension];
};
-

Powered by Google App Engine
This is Rietveld 408576698