OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #import "ios/chrome/test/app/sync_test_util.h" | 5 #import "ios/chrome/test/app/sync_test_util.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/mac/bind_objc_block.h" | 11 #import "base/mac/bind_objc_block.h" |
12 #include "base/memory/ptr_util.h" | 12 #include "base/memory/ptr_util.h" |
13 #include "base/strings/sys_string_conversions.h" | 13 #include "base/strings/sys_string_conversions.h" |
14 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
15 #include "base/test/ios/wait_util.h" | 15 #import "base/test/ios/wait_util.h" |
16 #include "components/autofill/core/browser/personal_data_manager.h" | 16 #include "components/autofill/core/browser/personal_data_manager.h" |
17 #include "components/browser_sync/profile_sync_service.h" | 17 #include "components/browser_sync/profile_sync_service.h" |
18 #include "components/history/core/browser/history_service.h" | 18 #include "components/history/core/browser/history_service.h" |
19 #include "components/keyed_service/core/service_access_type.h" | 19 #include "components/keyed_service/core/service_access_type.h" |
20 #include "components/sync/engine/net/http_bridge_network_resources.h" | 20 #include "components/sync/engine/net/http_bridge_network_resources.h" |
21 #include "components/sync/test/fake_server/entity_builder_factory.h" | 21 #include "components/sync/test/fake_server/entity_builder_factory.h" |
22 #include "components/sync/test/fake_server/fake_server.h" | 22 #include "components/sync/test/fake_server/fake_server.h" |
23 #include "components/sync/test/fake_server/fake_server_network_resources.h" | 23 #include "components/sync/test/fake_server/fake_server_network_resources.h" |
24 #include "components/sync/test/fake_server/fake_server_verifier.h" | 24 #include "components/sync/test/fake_server/fake_server_verifier.h" |
25 #include "components/sync/test/fake_server/sessions_hierarchy.h" | 25 #include "components/sync/test/fake_server/sessions_hierarchy.h" |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 } | 342 } |
343 } | 343 } |
344 if (!entity_id.empty()) { | 344 if (!entity_id.empty()) { |
345 std::unique_ptr<fake_server::FakeServerEntity> entity; | 345 std::unique_ptr<fake_server::FakeServerEntity> entity; |
346 entity = fake_server::TombstoneEntity::Create(entity_id, std::string()); | 346 entity = fake_server::TombstoneEntity::Create(entity_id, std::string()); |
347 gSyncFakeServer->InjectEntity(std::move(entity)); | 347 gSyncFakeServer->InjectEntity(std::move(entity)); |
348 } | 348 } |
349 } | 349 } |
350 | 350 |
351 } // namespace chrome_test_util | 351 } // namespace chrome_test_util |
OLD | NEW |