1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // Protocol buffer definitions for Syncable FileSystem.
9 option optimize_for = LITE_RUNTIME;
11 package sync_file_system;
13 // TODO(tzik): Migrate from DriveMetadat to DriveEntryMetadata and erase this.
14 // http://crbug.com/240165
15 message DriveMetadata {
16 required string resource_id = 1;
17 required string md5_checksum = 2;
18 required bool conflicted = 3;
20 // When true, indicates that the remote file identified by |resource_id|
21 // should be fetched for solving the conflict (resolve-to-remote resolution).
22 required bool to_be_fetched = 4;
25 RESOURCE_TYPE_FILE = 0;
26 RESOURCE_TYPE_FOLDER = 1;
29 optional ResourceType type = 5 [default = RESOURCE_TYPE_FILE];