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_BOOKMARK_ENTITY_H_ | 5 #ifndef COMPONENTS_SYNC_TEST_FAKE_SERVER_BOOKMARK_ENTITY_H_ |
6 #define COMPONENTS_SYNC_TEST_FAKE_SERVER_BOOKMARK_ENTITY_H_ | 6 #define COMPONENTS_SYNC_TEST_FAKE_SERVER_BOOKMARK_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/sync.pb.h" | 15 #include "components/sync/protocol/sync.pb.h" |
15 #include "components/sync/test/fake_server/fake_server_entity.h" | 16 #include "components/sync/test/fake_server/fake_server_entity.h" |
16 | 17 |
17 namespace fake_server { | 18 namespace fake_server { |
18 | 19 |
19 // A bookmark version of FakeServerEntity. This type represents entities that | 20 // A bookmark version of FakeServerEntity. This type represents entities that |
20 // are non-deleted, client-created, and not unique per client account. | 21 // are non-deleted, client-created, and not unique per client account. |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 sync_pb::UniquePosition unique_position_; | 66 sync_pb::UniquePosition unique_position_; |
66 bool is_folder_; | 67 bool is_folder_; |
67 std::string parent_id_; | 68 std::string parent_id_; |
68 int64_t creation_time_; | 69 int64_t creation_time_; |
69 int64_t last_modified_time_; | 70 int64_t last_modified_time_; |
70 }; | 71 }; |
71 | 72 |
72 } // namespace fake_server | 73 } // namespace fake_server |
73 | 74 |
74 #endif // COMPONENTS_SYNC_TEST_FAKE_SERVER_BOOKMARK_ENTITY_H_ | 75 #endif // COMPONENTS_SYNC_TEST_FAKE_SERVER_BOOKMARK_ENTITY_H_ |
OLD | NEW |