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