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