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

Side by Side Diff: components/drive/drive.proto

Issue 2346873004: Added 'starred' to EntryProperty in FileManagerPrivateAPI. (Closed)
Patch Set: Added 'starred' to EntryProperty in FileManagerPrivateAPI. Created 4 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
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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 // Local ID of the entry. 102 // Local ID of the entry.
103 optional string local_id = 15; 103 optional string local_id = 15;
104 104
105 // Local ID of the parent entry. 105 // Local ID of the parent entry.
106 optional string parent_local_id = 7; 106 optional string parent_local_id = 7;
107 107
108 // This field is used for processing the change list from the 108 // This field is used for processing the change list from the
109 // server. Deleted entries won't be stored in ResourceMetadata. 109 // server. Deleted entries won't be stored in ResourceMetadata.
110 optional bool deleted = 11; 110 optional bool deleted = 11;
111 111
112 // True if the entry is labeled "starred".
113 optional bool starred = 12;
fukino 2016/09/27 06:24:23 I guess tag number 12 was used before, so reusing
harukam 2016/09/27 08:12:08 Done.
114
112 // True if the entry is labeled with "shared-with-me", i.e., owned by someone 115 // True if the entry is labeled with "shared-with-me", i.e., owned by someone
113 // else initially and later shared to the current user. 116 // else initially and later shared to the current user.
114 optional bool shared_with_me = 14; 117 optional bool shared_with_me = 14;
115 118
116 // True if the entry is labeled "shared". Either the entry itself or its 119 // True if the entry is labeled "shared". Either the entry itself or its
117 // ancestor is shared (to the user from / by the user to) other accounts. 120 // ancestor is shared (to the user from / by the user to) other accounts.
118 optional bool shared = 17; 121 optional bool shared = 17;
119 122
120 // File specific information, such as MD5. 123 // File specific information, such as MD5.
121 optional FileSpecificInfo file_specific_info = 9; 124 optional FileSpecificInfo file_specific_info = 9;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 164
162 // True if the file is pinned (i.e. available offline). 165 // True if the file is pinned (i.e. available offline).
163 optional bool is_pinned = 3; 166 optional bool is_pinned = 3;
164 167
165 // True if the file is dirty (i.e. modified locally). 168 // True if the file is dirty (i.e. modified locally).
166 optional bool is_dirty = 4; 169 optional bool is_dirty = 4;
167 170
168 // When adding a new state, be sure to update TestFileCacheState and test 171 // When adding a new state, be sure to update TestFileCacheState and test
169 // functions defined in test_util.cc. 172 // functions defined in test_util.cc.
170 } 173 }
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/file_manager_private.idl ('k') | components/drive/resource_entry_conversion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698