| 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_BOOKMARK_ENTITY_BUILDER_H_ | 5 #ifndef COMPONENTS_SYNC_TEST_FAKE_SERVER_BOOKMARK_ENTITY_BUILDER_H_ |
| 6 #define SYNC_TEST_FAKE_SERVER_BOOKMARK_ENTITY_BUILDER_H_ | 6 #define COMPONENTS_SYNC_TEST_FAKE_SERVER_BOOKMARK_ENTITY_BUILDER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "sync/internal_api/public/base/model_type.h" | 11 #include "components/sync/base/model_type.h" |
| 12 #include "sync/test/fake_server/fake_server_entity.h" | 12 #include "components/sync/test/fake_server/fake_server_entity.h" |
| 13 #include "url/gurl.h" | 13 #include "url/gurl.h" |
| 14 | 14 |
| 15 namespace fake_server { | 15 namespace fake_server { |
| 16 | 16 |
| 17 // Builder for BookmarkEntity objects. | 17 // Builder for BookmarkEntity objects. |
| 18 class BookmarkEntityBuilder { | 18 class BookmarkEntityBuilder { |
| 19 public: | 19 public: |
| 20 BookmarkEntityBuilder(const std::string& title, | 20 BookmarkEntityBuilder(const std::string& title, |
| 21 const std::string& originator_cache_guid, | 21 const std::string& originator_cache_guid, |
| 22 const std::string& originator_client_item_id); | 22 const std::string& originator_client_item_id); |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 // Information that associates the bookmark with its original client. | 54 // Information that associates the bookmark with its original client. |
| 55 const std::string originator_cache_guid_; | 55 const std::string originator_cache_guid_; |
| 56 const std::string originator_client_item_id_; | 56 const std::string originator_client_item_id_; |
| 57 | 57 |
| 58 // The ID of the parent bookmark folder. | 58 // The ID of the parent bookmark folder. |
| 59 std::string parent_id_; | 59 std::string parent_id_; |
| 60 }; | 60 }; |
| 61 | 61 |
| 62 } // namespace fake_server | 62 } // namespace fake_server |
| 63 | 63 |
| 64 #endif // SYNC_TEST_FAKE_SERVER_BOOKMARK_ENTITY_BUILDER_H_ | 64 #endif // COMPONENTS_SYNC_TEST_FAKE_SERVER_BOOKMARK_ENTITY_BUILDER_H_ |
| OLD | NEW |