| 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_ENTITY_BUILDER_FACTORY_H_ | 5 #ifndef COMPONENTS_SYNC_TEST_FAKE_SERVER_ENTITY_BUILDER_FACTORY_H_ |
| 6 #define SYNC_TEST_FAKE_SERVER_ENTITY_BUILDER_FACTORY_H_ | 6 #define COMPONENTS_SYNC_TEST_FAKE_SERVER_ENTITY_BUILDER_FACTORY_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "sync/test/fake_server/bookmark_entity_builder.h" | 12 #include "components/sync/test/fake_server/bookmark_entity_builder.h" |
| 13 #include "url/gurl.h" | 13 #include "url/gurl.h" |
| 14 | 14 |
| 15 namespace fake_server { | 15 namespace fake_server { |
| 16 | 16 |
| 17 // Creates various types of EntityBuilders. | 17 // Creates various types of EntityBuilders. |
| 18 // | 18 // |
| 19 // This class exists because we maintain state related to the fake client that | 19 // This class exists because we maintain state related to the fake client that |
| 20 // supposedly created these entities. | 20 // supposedly created these entities. |
| 21 // | 21 // |
| 22 // TODO(pvalenzuela): Revisit the naming of this class once the FakeServer | 22 // TODO(pvalenzuela): Revisit the naming of this class once the FakeServer |
| (...skipping 11 matching lines...) Expand all Loading... |
| 34 // An identifier used when creating entities. This value is used similarly to | 34 // An identifier used when creating entities. This value is used similarly to |
| 35 // the value in the Sync directory code. | 35 // the value in the Sync directory code. |
| 36 std::string cache_guid_; | 36 std::string cache_guid_; |
| 37 | 37 |
| 38 // The latest client item id assigned to an entity. | 38 // The latest client item id assigned to an entity. |
| 39 int64_t latest_client_item_id_; | 39 int64_t latest_client_item_id_; |
| 40 }; | 40 }; |
| 41 | 41 |
| 42 } // namespace fake_server | 42 } // namespace fake_server |
| 43 | 43 |
| 44 #endif // SYNC_TEST_FAKE_SERVER_ENTITY_BUILDER_FACTORY_H_ | 44 #endif // COMPONENTS_SYNC_TEST_FAKE_SERVER_ENTITY_BUILDER_FACTORY_H_ |
| OLD | NEW |