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

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..5a7723fbb057166c15f596ff548469d495b9656a 100644
--- a/chrome/browser/resources/file_manager/common/js/path_util.js
+++ b/chrome/browser/resources/file_manager/common/js/path_util.js
@@ -33,7 +33,10 @@ var RootType = Object.freeze({
DRIVE_SHARED_WITH_ME: 'drive_shared_with_me',
// Fake root for recent files on the drive.
- DRIVE_RECENT: 'drive_recent'
+ DRIVE_RECENT: 'drive_recent',
+
+ // Root for privet storage volume.
+ PRIVET: 'privet'
});
/**
@@ -49,7 +52,8 @@ var RootDirectory = Object.freeze({
DRIVE: '/drive',
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.
+ DRIVE_RECENT: '/drive_recent', // A fake root.
+ PRIVET: '/privet'
});
/**
@@ -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