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

Side by Side Diff: components/sync/test/fake_server/permanent_entity.cc

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: Created 4 years, 2 months 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/test/fake_server/permanent_entity.h" 5 #include "components/sync/test/fake_server/permanent_entity.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/memory/ptr_util.h" 8 #include "base/memory/ptr_util.h"
9 9
10 using std::string; 10 using std::string;
11
11 using syncer::ModelType; 12 using syncer::ModelType;
12 13
13 // The parent tag for children of the root entity. Entities with this parent are 14 // The parent tag for children of the root entity. Entities with this parent are
14 // referred to as top level enities. 15 // referred to as top level enities.
15 static const char kRootParentTag[] = "0"; 16 static const char kRootParentTag[] = "0";
16 17
17 namespace fake_server { 18 namespace fake_server {
18 19
19 PermanentEntity::~PermanentEntity() {} 20 PermanentEntity::~PermanentEntity() {}
20 21
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 97
97 bool PermanentEntity::IsFolder() const { 98 bool PermanentEntity::IsFolder() const {
98 return true; 99 return true;
99 } 100 }
100 101
101 bool PermanentEntity::IsPermanent() const { 102 bool PermanentEntity::IsPermanent() const {
102 return true; 103 return true;
103 } 104 }
104 105
105 } // namespace fake_server 106 } // namespace fake_server
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698