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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Protocol buffer definitions for Syncable FileSystem. 5 // Protocol buffer definitions for Syncable FileSystem.
6 6
7 syntax = "proto2"; 7 syntax = "proto2";
8 8
9 option optimize_for = LITE_RUNTIME; 9 option optimize_for = LITE_RUNTIME;
10 10
11 package sync_file_system; 11 package sync_file_system;
12 12
13 message DriveMetadata { 13 message DriveMetadata {
14 required string resource_id = 1; 14 required string resource_id = 1;
15 required string md5_checksum = 2; 15 required string md5_checksum = 2;
16 required bool conflicted = 3; 16 required bool conflicted = 3;
17 17
18 // When true, indicates that the remote file identified by |resource_id| 18 // When true, indicates that the remote file identified by |resource_id|
19 // should be fetched for solving the conflict (resolve-to-remote resolution). 19 // should be fetched for solving the conflict (resolve-to-remote resolution).
20 required bool to_be_fetched = 4; 20 required bool to_be_fetched = 4;
21
22 enum ResourceType {
23 FILE = 0;
24 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.
25 }
26
27 optional ResourceType type = 5 [default = FILE];
21 } 28 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698