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

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: review fix 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/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..b6b3a63dd68e6e814d17a611f310cfe7c40065a6 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 {
+ FILE = 0;
+ FOLDER = 1;
tzik 2013/04/16 15:02:49 RESOURCE_TYPE_FILE and RESOURCE_TYPE_FOLDER for be
nhiroki 2013/04/17 02:24:51 Done.
+ }
+
+ optional ResourceType type = 5 [default = FILE];
}

Powered by Google App Engine
This is Rietveld 408576698