OLD | NEW |
---|---|
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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 drive_test_util.cc. |
kinaba
2013/09/10 07:24:35
Maybe: drive_test_util.cc => test_util.cc.
Could y
hashimoto
2013/09/10 07:33:59
Done.
| |
124 } | 120 } |
OLD | NEW |