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/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 Loading... |
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 |
OLD | NEW |