| 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 |
| 7 using std::string; | 14 using std::string; |
| 8 | 15 |
| 9 using syncer::ModelType; | 16 using syncer::ModelType; |
| 10 | 17 |
| 11 namespace syncer { | 18 namespace syncer { |
| 12 | 19 |
| 13 PersistentTombstoneEntity::~PersistentTombstoneEntity() {} | 20 PersistentTombstoneEntity::~PersistentTombstoneEntity() {} |
| 14 | 21 |
| 15 // static | 22 // static |
| 16 std::unique_ptr<LoopbackServerEntity> PersistentTombstoneEntity::Create( | 23 std::unique_ptr<LoopbackServerEntity> PersistentTombstoneEntity::Create( |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 bool PersistentTombstoneEntity::IsDeleted() const { | 55 bool PersistentTombstoneEntity::IsDeleted() const { |
| 49 return true; | 56 return true; |
| 50 } | 57 } |
| 51 | 58 |
| 52 sync_pb::LoopbackServerEntity_Type | 59 sync_pb::LoopbackServerEntity_Type |
| 53 PersistentTombstoneEntity::GetLoopbackServerEntityType() const { | 60 PersistentTombstoneEntity::GetLoopbackServerEntityType() const { |
| 54 return sync_pb::LoopbackServerEntity_Type_TOMBSTONE; | 61 return sync_pb::LoopbackServerEntity_Type_TOMBSTONE; |
| 55 } | 62 } |
| 56 | 63 |
| 57 } // namespace syncer | 64 } // namespace syncer |
| OLD | NEW |