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

Side by Side Diff: sync/syncable/entry_kernel.h

Issue 395913003: Add server_attachment_metadata field to EntryKernel and sync database. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | « sync/syncable/entry.h ('k') | sync/syncable/syncable_columns.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef SYNC_SYNCABLE_ENTRY_KERNEL_H_ 5 #ifndef SYNC_SYNCABLE_ENTRY_KERNEL_H_
6 #define SYNC_SYNCABLE_ENTRY_KERNEL_H_ 6 #define SYNC_SYNCABLE_ENTRY_KERNEL_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 }; 157 };
158 158
159 enum { 159 enum {
160 UNIQUE_POSITION_FIELDS_COUNT = 160 UNIQUE_POSITION_FIELDS_COUNT =
161 UNIQUE_POSITION_FIELDS_END - UNIQUE_POSITION_FIELDS_BEGIN, 161 UNIQUE_POSITION_FIELDS_END - UNIQUE_POSITION_FIELDS_BEGIN,
162 ATTACHMENT_METADATA_FIELDS_BEGIN = UNIQUE_POSITION_FIELDS_END 162 ATTACHMENT_METADATA_FIELDS_BEGIN = UNIQUE_POSITION_FIELDS_END
163 }; 163 };
164 164
165 enum AttachmentMetadataField { 165 enum AttachmentMetadataField {
166 ATTACHMENT_METADATA = ATTACHMENT_METADATA_FIELDS_BEGIN, 166 ATTACHMENT_METADATA = ATTACHMENT_METADATA_FIELDS_BEGIN,
167 SERVER_ATTACHMENT_METADATA,
167 ATTACHMENT_METADATA_FIELDS_END 168 ATTACHMENT_METADATA_FIELDS_END
168 }; 169 };
169 170
170 enum { 171 enum {
171 ATTACHMENT_METADATA_FIELDS_COUNT = 172 ATTACHMENT_METADATA_FIELDS_COUNT =
172 ATTACHMENT_METADATA_FIELDS_END - ATTACHMENT_METADATA_FIELDS_BEGIN, 173 ATTACHMENT_METADATA_FIELDS_END - ATTACHMENT_METADATA_FIELDS_BEGIN,
173 FIELD_COUNT = ATTACHMENT_METADATA_FIELDS_END - BEGIN_FIELDS, 174 FIELD_COUNT = ATTACHMENT_METADATA_FIELDS_END - BEGIN_FIELDS,
174 // Past this point we have temporaries, stored in memory only. 175 // Past this point we have temporaries, stored in memory only.
175 BEGIN_TEMPS = ATTACHMENT_METADATA_FIELDS_END, 176 BEGIN_TEMPS = ATTACHMENT_METADATA_FIELDS_END,
176 BIT_TEMPS_BEGIN = BEGIN_TEMPS, 177 BIT_TEMPS_BEGIN = BEGIN_TEMPS,
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 const EntryKernelMutation& mutation); 380 const EntryKernelMutation& mutation);
380 381
381 // Caller owns the return value. 382 // Caller owns the return value.
382 base::ListValue* EntryKernelMutationMapToValue( 383 base::ListValue* EntryKernelMutationMapToValue(
383 const EntryKernelMutationMap& mutations); 384 const EntryKernelMutationMap& mutations);
384 385
385 } // namespace syncable 386 } // namespace syncable
386 } // namespace syncer 387 } // namespace syncer
387 388
388 #endif // SYNC_SYNCABLE_ENTRY_KERNEL_H_ 389 #endif // SYNC_SYNCABLE_ENTRY_KERNEL_H_
OLDNEW
« no previous file with comments | « sync/syncable/entry.h ('k') | sync/syncable/syncable_columns.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698