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

Side by Side Diff: components/sync/engine_impl/loopback_server/persistent_permanent_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_permanent_entit y.h" 5 #include "components/sync/engine_impl/loopback_server/persistent_permanent_entit y.h"
6 6
7 #include <memory>
8 #include <string>
9
7 #include "base/logging.h" 10 #include "base/logging.h"
8 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "components/sync/base/model_type.h"
13 #include "components/sync/engine_impl/loopback_server/loopback_server_entity.h"
14 #include "components/sync/protocol/sync.pb.h"
9 15
10 using std::string; 16 using std::string;
11 17
12 using syncer::ModelType; 18 using syncer::ModelType;
13 19
14 namespace { 20 namespace {
15 // The parent tag for children of the root entity. Entities with this parent are 21 // The parent tag for children of the root entity. Entities with this parent are
16 // referred to as top level enities. 22 // referred to as top level enities.
17 static const char kRootParentTag[] = "0"; 23 static const char kRootParentTag[] = "0";
18 } // namespace 24 } // namespace
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 bool PersistentPermanentEntity::IsPermanent() const { 118 bool PersistentPermanentEntity::IsPermanent() const {
113 return true; 119 return true;
114 } 120 }
115 121
116 sync_pb::LoopbackServerEntity_Type 122 sync_pb::LoopbackServerEntity_Type
117 PersistentPermanentEntity::GetLoopbackServerEntityType() const { 123 PersistentPermanentEntity::GetLoopbackServerEntityType() const {
118 return sync_pb::LoopbackServerEntity_Type_PERMANENT; 124 return sync_pb::LoopbackServerEntity_Type_PERMANENT;
119 } 125 }
120 126
121 } // namespace syncer 127 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698