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

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: 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 e95711ed544aebb052822acc053baf39339ddfe8..dfdb9b55de700f3689d12f33f94d54ac986159aa 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();

Powered by Google App Engine
This is Rietveld 408576698