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

Unified Diff: chrome/browser/sync_file_system/sync_file_system.proto

Issue 13929012: SyncFS: Add resource type field into DriveMetadata (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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
« no previous file with comments | « chrome/browser/sync_file_system/drive_file_sync_service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync_file_system/sync_file_system.proto
diff --git a/chrome/browser/sync_file_system/sync_file_system.proto b/chrome/browser/sync_file_system/sync_file_system.proto
index 8d99f6f1bb0e6204a821bd2636b17cb9cddfc9f1..53820463cbcf26f619e30bb517eda2ee63c1ba9c 100644
--- a/chrome/browser/sync_file_system/sync_file_system.proto
+++ b/chrome/browser/sync_file_system/sync_file_system.proto
@@ -18,4 +18,11 @@ message DriveMetadata {
// When true, indicates that the remote file identified by |resource_id|
// should be fetched for solving the conflict (resolve-to-remote resolution).
required bool to_be_fetched = 4;
+
+ enum ResourceType {
+ RESOURCE_TYPE_FILE = 0;
+ RESOURCE_TYPE_FOLDER = 1;
+ }
+
+ optional ResourceType type = 5 [default = RESOURCE_TYPE_FILE];
}
« no previous file with comments | « chrome/browser/sync_file_system/drive_file_sync_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698