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

Unified Diff: chrome/browser/chromeos/drive/file_system_util.h

Issue 66293005: drive: Add drive/trash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix RemoveEntry Created 7 years, 1 month 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/chromeos/drive/file_system_util.h
diff --git a/chrome/browser/chromeos/drive/file_system_util.h b/chrome/browser/chromeos/drive/file_system_util.h
index 710b5a640b175c8fdd18fa6acdd98313cf2a425e..196c5a7b7ef3b72f0a74bae056a26887bfb43ef4 100644
--- a/chrome/browser/chromeos/drive/file_system_util.h
+++ b/chrome/browser/chromeos/drive/file_system_util.h
@@ -36,6 +36,9 @@ const char kDriveGrandRootLocalId[] = "<drive>";
// "drive/other" diretory's local ID is fixed to this value.
const char kDriveOtherDirLocalId[] = "<other>";
+// "drive/trash" diretory's local ID is fixed to this value.
+const char kDriveTrashDirLocalId[] = "<trash>";
+
// The directory names used for the Google Drive file system tree. These names
// are used in URLs for the file manager, hence user-visible.
const base::FilePath::CharType kDriveGrandRootDirName[] =
@@ -47,6 +50,9 @@ const base::FilePath::CharType kDriveMyDriveRootDirName[] =
const base::FilePath::CharType kDriveOtherDirName[] =
FILE_PATH_LITERAL("other");
+const base::FilePath::CharType kDriveTrashDirName[] =
+ FILE_PATH_LITERAL("trash");
+
// Returns the path of the top root of the pseudo tree.
const base::FilePath& GetDriveGrandRootPath();
« no previous file with comments | « chrome/browser/chromeos/drive/file_system_unittest.cc ('k') | chrome/browser/chromeos/drive/resource_metadata.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698