| 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_ENGINE_IMPL_LOOPBACK_SERVER_LOOPBACK_SERVER_ENTITY_H_ | 5 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_LOOPBACK_SERVER_LOOPBACK_SERVER_ENTITY_H_ |
| 6 #define COMPONENTS_SYNC_ENGINE_IMPL_LOOPBACK_SERVER_LOOPBACK_SERVER_ENTITY_H_ | 6 #define COMPONENTS_SYNC_ENGINE_IMPL_LOOPBACK_SERVER_LOOPBACK_SERVER_ENTITY_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 #include <memory> |
| 11 #include <string> | 12 #include <string> |
| 12 | 13 |
| 13 #include "components/sync/base/model_type.h" | 14 #include "components/sync/base/model_type.h" |
| 14 #include "components/sync/protocol/loopback_server.pb.h" | 15 #include "components/sync/protocol/loopback_server.pb.h" |
| 15 #include "components/sync/protocol/sync.pb.h" | 16 #include "components/sync/protocol/sync.pb.h" |
| 16 | 17 |
| 17 namespace syncer { | 18 namespace syncer { |
| 18 | 19 |
| 19 // The representation of a Sync entity for the loopback server. | 20 // The representation of a Sync entity for the loopback server. |
| 20 class LoopbackServerEntity { | 21 class LoopbackServerEntity { |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 // The name of the entity. | 86 // The name of the entity. |
| 86 std::string name_; | 87 std::string name_; |
| 87 | 88 |
| 88 // The EntitySpecifics for the entity. | 89 // The EntitySpecifics for the entity. |
| 89 sync_pb::EntitySpecifics specifics_; | 90 sync_pb::EntitySpecifics specifics_; |
| 90 }; | 91 }; |
| 91 | 92 |
| 92 } // namespace syncer | 93 } // namespace syncer |
| 93 | 94 |
| 94 #endif // COMPONENTS_SYNC_ENGINE_IMPL_LOOPBACK_SERVER_LOOPBACK_SERVER_ENTITY_H_ | 95 #endif // COMPONENTS_SYNC_ENGINE_IMPL_LOOPBACK_SERVER_LOOPBACK_SERVER_ENTITY_H_ |
| OLD | NEW |