| 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 #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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/time.h" | 9 #include "base/time.h" |
| 10 #include "base/values.h" | 10 #include "base/values.h" |
| 11 #include "sync/internal_api/public/syncable/model_type.h" | 11 #include "sync/internal_api/public/syncable/model_type.h" |
| 12 #include "sync/internal_api/public/util/immutable.h" | 12 #include "sync/internal_api/public/util/immutable.h" |
| 13 #include "sync/protocol/sync.pb.h" | 13 #include "sync/protocol/sync.pb.h" |
| 14 #include "sync/syncable/metahandle_set.h" | 14 #include "sync/syncable/metahandle_set.h" |
| 15 #include "sync/syncable/syncable_id.h" | 15 #include "sync/syncable/syncable_id.h" |
| 16 #include "sync/util/time.h" | 16 #include "sync/util/time.h" |
| 17 | 17 |
| 18 namespace syncer { |
| 18 namespace syncable { | 19 namespace syncable { |
| 19 | 20 |
| 20 // Things you need to update if you change any of the fields below: | 21 // Things you need to update if you change any of the fields below: |
| 21 // - EntryKernel struct in this file | 22 // - EntryKernel struct in this file |
| 22 // - syncable_columns.h | 23 // - syncable_columns.h |
| 23 // - syncable_enum_conversions{.h,.cc,_unittest.cc} | 24 // - syncable_enum_conversions{.h,.cc,_unittest.cc} |
| 24 // - EntryKernel::EntryKernel(), EntryKernel::ToValue(), operator<< | 25 // - EntryKernel::EntryKernel(), EntryKernel::ToValue(), operator<< |
| 25 // for Entry in syncable.cc | 26 // for Entry in syncable.cc |
| 26 // - BindFields() and UnpackEntry() in directory_backing_store.cc | 27 // - BindFields() and UnpackEntry() in directory_backing_store.cc |
| 27 // - TestSimpleFieldsPreservedDuringSaveChanges in syncable_unittest.cc | 28 // - TestSimpleFieldsPreservedDuringSaveChanges in syncable_unittest.cc |
| (...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 | 313 |
| 313 // Caller owns the return value. | 314 // Caller owns the return value. |
| 314 base::DictionaryValue* EntryKernelMutationToValue( | 315 base::DictionaryValue* EntryKernelMutationToValue( |
| 315 const EntryKernelMutation& mutation); | 316 const EntryKernelMutation& mutation); |
| 316 | 317 |
| 317 // Caller owns the return value. | 318 // Caller owns the return value. |
| 318 base::ListValue* EntryKernelMutationMapToValue( | 319 base::ListValue* EntryKernelMutationMapToValue( |
| 319 const EntryKernelMutationMap& mutations); | 320 const EntryKernelMutationMap& mutations); |
| 320 | 321 |
| 321 } // namespace syncable | 322 } // namespace syncable |
| 323 } // namespace syncer |
| 322 | 324 |
| 323 #endif // SYNC_SYNCABLE_ENTRY_KERNEL_H_ | 325 #endif // SYNC_SYNCABLE_ENTRY_KERNEL_H_ |
| OLD | NEW |