Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Side by Side Diff: components/sync/engine_impl/loopback_server/persistent_tombstone_entity.cc

Issue 2466463002: Revert of [Sync] IWYU cleanup. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698