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

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

Issue 2388163002: [Sync] Move //components/sync to the syncer namespace, take 2. (Closed)
Patch Set: Rebase. 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
12 using syncer::ModelType; 11 using syncer::ModelType;
13 12
14 // The parent tag for children of the root entity. Entities with this parent are 13 // The parent tag for children of the root entity. Entities with this parent are
15 // referred to as top level enities. 14 // referred to as top level enities.
16 static const char kRootParentTag[] = "0"; 15 static const char kRootParentTag[] = "0";
17 16
18 namespace fake_server { 17 namespace fake_server {
19 18
20 PermanentEntity::~PermanentEntity() {} 19 PermanentEntity::~PermanentEntity() {}
21 20
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 96
98 bool PermanentEntity::IsFolder() const { 97 bool PermanentEntity::IsFolder() const {
99 return true; 98 return true;
100 } 99 }
101 100
102 bool PermanentEntity::IsPermanent() const { 101 bool PermanentEntity::IsPermanent() const {
103 return true; 102 return true;
104 } 103 }
105 104
106 } // namespace fake_server 105 } // namespace fake_server
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698