| 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/test/fake_server/tombstone_entity.h" | 5 #include "components/sync/test/fake_server/tombstone_entity.h" |
| 6 | 6 |
| 7 using std::string; | 7 using std::string; |
| 8 | |
| 9 using syncer::ModelType; | 8 using syncer::ModelType; |
| 10 | 9 |
| 11 namespace fake_server { | 10 namespace fake_server { |
| 12 | 11 |
| 13 TombstoneEntity::~TombstoneEntity() {} | 12 TombstoneEntity::~TombstoneEntity() {} |
| 14 | 13 |
| 15 // static | 14 // static |
| 16 std::unique_ptr<FakeServerEntity> TombstoneEntity::Create( | 15 std::unique_ptr<FakeServerEntity> TombstoneEntity::Create( |
| 17 const string& id, | 16 const string& id, |
| 18 const string& client_defined_unique_tag) { | 17 const string& client_defined_unique_tag) { |
| (...skipping 22 matching lines...) Expand all Loading... |
| 41 | 40 |
| 42 void TombstoneEntity::SerializeAsProto(sync_pb::SyncEntity* proto) const { | 41 void TombstoneEntity::SerializeAsProto(sync_pb::SyncEntity* proto) const { |
| 43 FakeServerEntity::SerializeBaseProtoFields(proto); | 42 FakeServerEntity::SerializeBaseProtoFields(proto); |
| 44 } | 43 } |
| 45 | 44 |
| 46 bool TombstoneEntity::IsDeleted() const { | 45 bool TombstoneEntity::IsDeleted() const { |
| 47 return true; | 46 return true; |
| 48 } | 47 } |
| 49 | 48 |
| 50 } // namespace fake_server | 49 } // namespace fake_server |
| OLD | NEW |