| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/loopback_server/persistent_tombstone_entit
y.h" | 5 #include "components/sync/engine_impl/loopback_server/persistent_tombstone_entit
y.h" |
| 6 | 6 |
| 7 #include <memory> | |
| 8 #include <string> | |
| 9 | |
| 10 #include "components/sync/base/model_type.h" | |
| 11 #include "components/sync/engine_impl/loopback_server/loopback_server_entity.h" | |
| 12 #include "components/sync/protocol/sync.pb.h" | |
| 13 | |
| 14 using std::string; | 7 using std::string; |
| 15 | 8 |
| 16 using syncer::ModelType; | 9 using syncer::ModelType; |
| 17 | 10 |
| 18 namespace syncer { | 11 namespace syncer { |
| 19 | 12 |
| 20 PersistentTombstoneEntity::~PersistentTombstoneEntity() {} | 13 PersistentTombstoneEntity::~PersistentTombstoneEntity() {} |
| 21 | 14 |
| 22 // static | 15 // static |
| 23 std::unique_ptr<LoopbackServerEntity> PersistentTombstoneEntity::Create( | 16 std::unique_ptr<LoopbackServerEntity> PersistentTombstoneEntity::Create( |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 bool PersistentTombstoneEntity::IsDeleted() const { | 48 bool PersistentTombstoneEntity::IsDeleted() const { |
| 56 return true; | 49 return true; |
| 57 } | 50 } |
| 58 | 51 |
| 59 sync_pb::LoopbackServerEntity_Type | 52 sync_pb::LoopbackServerEntity_Type |
| 60 PersistentTombstoneEntity::GetLoopbackServerEntityType() const { | 53 PersistentTombstoneEntity::GetLoopbackServerEntityType() const { |
| 61 return sync_pb::LoopbackServerEntity_Type_TOMBSTONE; | 54 return sync_pb::LoopbackServerEntity_Type_TOMBSTONE; |
| 62 } | 55 } |
| 63 | 56 |
| 64 } // namespace syncer | 57 } // namespace syncer |
| OLD | NEW |