| 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 #ifndef COMPONENTS_SYNC_TEST_FAKE_SERVER_PERMANENT_ENTITY_H_ | 5 #ifndef COMPONENTS_SYNC_TEST_FAKE_SERVER_PERMANENT_ENTITY_H_ |
| 6 #define COMPONENTS_SYNC_TEST_FAKE_SERVER_PERMANENT_ENTITY_H_ | 6 #define COMPONENTS_SYNC_TEST_FAKE_SERVER_PERMANENT_ENTITY_H_ |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include <string> | 9 #include <string> |
| 9 | 10 |
| 10 #include "components/sync/base/model_type.h" | 11 #include "components/sync/base/model_type.h" |
| 11 #include "components/sync/protocol/sync.pb.h" | 12 #include "components/sync/protocol/sync.pb.h" |
| 12 #include "components/sync/test/fake_server/fake_server_entity.h" | 13 #include "components/sync/test/fake_server/fake_server_entity.h" |
| 13 | 14 |
| 14 namespace fake_server { | 15 namespace fake_server { |
| 15 | 16 |
| 16 // A server-created, permanent entity. | 17 // A server-created, permanent entity. |
| 17 class PermanentEntity : public FakeServerEntity { | 18 class PermanentEntity : public FakeServerEntity { |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 const sync_pb::EntitySpecifics& entity_specifics); | 54 const sync_pb::EntitySpecifics& entity_specifics); |
| 54 | 55 |
| 55 // All member values have equivalent fields in SyncEntity. | 56 // All member values have equivalent fields in SyncEntity. |
| 56 std::string server_defined_unique_tag_; | 57 std::string server_defined_unique_tag_; |
| 57 std::string parent_id_; | 58 std::string parent_id_; |
| 58 }; | 59 }; |
| 59 | 60 |
| 60 } // namespace fake_server | 61 } // namespace fake_server |
| 61 | 62 |
| 62 #endif // COMPONENTS_SYNC_TEST_FAKE_SERVER_PERMANENT_ENTITY_H_ | 63 #endif // COMPONENTS_SYNC_TEST_FAKE_SERVER_PERMANENT_ENTITY_H_ |
| OLD | NEW |