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

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

Issue 13866009: Remove root resource id aliasing from DriveResourceMetadata. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove other resource id check. Created 7 years, 8 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/chromeos/drive/drive_file_system_util.h
diff --git a/chrome/browser/chromeos/drive/drive_file_system_util.h b/chrome/browser/chromeos/drive/drive_file_system_util.h
index fb41819c1266dc40eefc109ce48eac53e5de4080..bc080c55a6f2130b1df0a0ba9945107ffe91e8db 100644
--- a/chrome/browser/chromeos/drive/drive_file_system_util.h
+++ b/chrome/browser/chromeos/drive/drive_file_system_util.h
@@ -9,6 +9,7 @@
#include "base/callback_forward.h"
#include "base/platform_file.h"
+#include "chrome/browser/chromeos/drive/drive.pb.h"
#include "chrome/browser/chromeos/drive/drive_file_error.h"
#include "chrome/browser/google_apis/gdata_errorcode.h"
#include "googleurl/src/gurl.h"
@@ -85,6 +86,12 @@ const base::FilePath& GetDriveMountPointPath();
// implementation and is not supposed to be sent to the server.
bool IsSpecialResourceId(const std::string& resource_id);
+// Returns a DriveEntryProto for "/drive/root" directory.
+DriveEntryProto CreateMyDriveRootEntry(const std::string& root_resource_id);
+
+// Returns a DriveEntryProto for "/drive/other" directory.
+DriveEntryProto CreateOtherDirEntry();
+
// Returns the Drive mount path as string.
const std::string& GetDriveMountPointPathAsString();
« no previous file with comments | « chrome/browser/chromeos/drive/drive_file_system_unittest.cc ('k') | chrome/browser/chromeos/drive/drive_file_system_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698