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 <string> | |
8 | |
9 #include "base/logging.h" | 7 #include "base/logging.h" |
10 #include "base/memory/ptr_util.h" | 8 #include "base/memory/ptr_util.h" |
11 #include "components/sync/base/model_type.h" | |
12 #include "components/sync/protocol/sync.pb.h" | |
13 #include "components/sync/test/fake_server/fake_server_entity.h" | |
14 | 9 |
15 using std::string; | 10 using std::string; |
16 | 11 |
17 using syncer::ModelType; | 12 using syncer::ModelType; |
18 | 13 |
19 // 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 |
20 // referred to as top level enities. | 15 // referred to as top level enities. |
21 static const char kRootParentTag[] = "0"; | 16 static const char kRootParentTag[] = "0"; |
22 | 17 |
23 namespace fake_server { | 18 namespace fake_server { |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 | 97 |
103 bool PermanentEntity::IsFolder() const { | 98 bool PermanentEntity::IsFolder() const { |
104 return true; | 99 return true; |
105 } | 100 } |
106 | 101 |
107 bool PermanentEntity::IsPermanent() const { | 102 bool PermanentEntity::IsPermanent() const { |
108 return true; | 103 return true; |
109 } | 104 } |
110 | 105 |
111 } // namespace fake_server | 106 } // namespace fake_server |
OLD | NEW |