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

Side by Side Diff: chrome/browser/chromeos/drive/drive.proto

Issue 23444042: drive: Remove obsolete comment from drive.proto (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update comment Created 7 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 representing Drive files and directories, 5 // Protocol buffer definitions for representing Drive files and directories,
6 // and serializing them for the resource metadata database. 6 // and serializing them for the resource metadata database.
7 7
8 syntax = "proto2"; 8 syntax = "proto2";
9 9
10 option optimize_for = LITE_RUNTIME; 10 option optimize_for = LITE_RUNTIME;
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 message ResourceMetadataHeader { 96 message ResourceMetadataHeader {
97 // Monotonically increasing version number, which is changed when 97 // Monotonically increasing version number, which is changed when
98 // incompatible change is made to the DB format. kDBVersion in 98 // incompatible change is made to the DB format. kDBVersion in
99 // drive_resource_metadata_storage.h defines the current version. 99 // drive_resource_metadata_storage.h defines the current version.
100 optional int32 version = 1; 100 optional int32 version = 1;
101 optional int64 largest_changestamp = 2; 101 optional int64 largest_changestamp = 2;
102 } 102 }
103 103
104 // Message to store information of an existing cache file. 104 // Message to store information of an existing cache file.
105 message FileCacheEntry { 105 message FileCacheEntry {
106 // MD5 of the cache file. "local" if the file is locally modified. 106 // MD5 of the cache file.
107 optional string md5 = 1; 107 optional string md5 = 1;
108 108
109 // True if the file is present locally. 109 // True if the file is present locally.
110 optional bool is_present = 2; 110 optional bool is_present = 2;
111 111
112 // True if the file is pinned (i.e. available offline). 112 // True if the file is pinned (i.e. available offline).
113 optional bool is_pinned = 3; 113 optional bool is_pinned = 3;
114 114
115 // True if the file is dirty (i.e. modified locally). 115 // True if the file is dirty (i.e. modified locally).
116 optional bool is_dirty = 4; 116 optional bool is_dirty = 4;
117 117
118 // TODO(hashimoto): Remove this block after DB merge. crbug.com/234487
119 // True if the file is in the persistent directory.
120 // optional bool is_persistent = 6;
121
122 // When adding a new state, be sure to update TestFileCacheState and test 118 // When adding a new state, be sure to update TestFileCacheState and test
123 // functions defined in drive_test_util.cc. 119 // functions defined in test_util.cc.
124 } 120 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698