| OLD | NEW |
| 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 #include "components/sync/engine_impl/test_entry_factory.h" | 5 #include "components/sync/engine_impl/test_entry_factory.h" |
| 6 | 6 |
| 7 #include "components/sync/base/model_type.h" |
| 7 #include "components/sync/syncable/directory.h" | 8 #include "components/sync/syncable/directory.h" |
| 8 #include "components/sync/syncable/entry.h" | 9 #include "components/sync/syncable/entry.h" |
| 9 #include "components/sync/syncable/model_neutral_mutable_entry.h" | 10 #include "components/sync/syncable/model_neutral_mutable_entry.h" |
| 10 #include "components/sync/syncable/mutable_entry.h" | 11 #include "components/sync/syncable/mutable_entry.h" |
| 11 #include "components/sync/syncable/syncable_id.h" | 12 #include "components/sync/syncable/syncable_id.h" |
| 12 #include "components/sync/syncable/syncable_model_neutral_write_transaction.h" | 13 #include "components/sync/syncable/syncable_model_neutral_write_transaction.h" |
| 13 #include "components/sync/syncable/syncable_read_transaction.h" | 14 #include "components/sync/syncable/syncable_read_transaction.h" |
| 14 #include "components/sync/syncable/syncable_util.h" | 15 #include "components/sync/syncable/syncable_util.h" |
| 15 #include "components/sync/syncable/syncable_write_transaction.h" | 16 #include "components/sync/syncable/syncable_write_transaction.h" |
| 16 #include "components/sync/test/engine/test_id_factory.h" | 17 #include "components/sync/test/engine/test_id_factory.h" |
| (...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 return false; | 337 return false; |
| 337 } | 338 } |
| 338 return entry.GetIsUnappliedUpdate(); | 339 return entry.GetIsUnappliedUpdate(); |
| 339 } | 340 } |
| 340 | 341 |
| 341 int64_t TestEntryFactory::GetNextRevision() { | 342 int64_t TestEntryFactory::GetNextRevision() { |
| 342 return next_revision_++; | 343 return next_revision_++; |
| 343 } | 344 } |
| 344 | 345 |
| 345 } // namespace syncer | 346 } // namespace syncer |
| OLD | NEW |