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

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

Issue 22341005: [SyncFS] Delete old MetadataDatabase code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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/drive_backend/metadata_database.proto
diff --git a/chrome/browser/sync_file_system/drive_backend/metadata_database.proto b/chrome/browser/sync_file_system/drive_backend/metadata_database.proto
index aee00fd11efd273d36a66c4f4164067da848eb31..24e001bd336683a7ebcf85af4a491cb7871c45f0 100644
--- a/chrome/browser/sync_file_system/drive_backend/metadata_database.proto
+++ b/chrome/browser/sync_file_system/drive_backend/metadata_database.proto
@@ -20,52 +20,3 @@ message ServiceMetadata {
optional int64 largest_change_id = 1;
optional string sync_root_folder_id = 2;
}
-
-message DriveFileMetadata {
- // File ID of the remote file/folder which the DriveFileMetadata tracks.
- required string file_id = 1;
- required string parent_folder_id = 2;
-
- optional string app_id = 3;
- optional bool is_app_root = 4;
-
- // Holds details of file/folder metadata.
- message Details {
- repeated string parent_folder_id = 1;
- optional string title = 2;
- optional FileKind kind = 3;
- optional string md5 = 4;
- optional string etag = 5;
-
- // Creation time and modification time of the resource.
- // Serialized by Time::ToInternalValue.
- optional int64 creation_time = 6;
- optional int64 modification_time = 7;
-
- optional bool deleted = 8;
- optional int64 change_id = 9;
- }
-
- // |synced_details| holds the file details snapshot when the file was
- // fetched through remote-to-local update.
- // This should contain same value as remote_details if |dirty| is false.
- optional Details synced_details = 5;
-
- // |remote_details| holds the latest file details that may not yet be
- // applied to local metadata.
- // This should be updated by each listed ChangeResource.
- optional Details remote_details = 6;
-
- // True if the file is changed since the last update for this file.
- optional bool dirty = 7;
-
- // True if the DriveFileMetadata is active.
- // Remote file content update should only be applied for active
- // DriveFileMetadata.
- // Active DriveFileMetadata must have a unique title under its parent.
- optional bool active = 8;
-
- // Valid only for folders.
- // True indicates the folder contents has not yet been fetched.
- optional bool needs_folder_listing = 9;
-}

Powered by Google App Engine
This is Rietveld 408576698