OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "chrome/browser/sync/test/integration/sync_test.h" | 5 #include "chrome/browser/sync/test/integration/sync_test.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <limits> | 10 #include <limits> |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 #include "components/invalidation/impl/invalidation_switches.h" | 63 #include "components/invalidation/impl/invalidation_switches.h" |
64 #include "components/invalidation/impl/p2p_invalidation_service.h" | 64 #include "components/invalidation/impl/p2p_invalidation_service.h" |
65 #include "components/invalidation/impl/p2p_invalidator.h" | 65 #include "components/invalidation/impl/p2p_invalidator.h" |
66 #include "components/invalidation/impl/profile_invalidation_provider.h" | 66 #include "components/invalidation/impl/profile_invalidation_provider.h" |
67 #include "components/invalidation/public/invalidation_service.h" | 67 #include "components/invalidation/public/invalidation_service.h" |
68 #include "components/keyed_service/core/keyed_service.h" | 68 #include "components/keyed_service/core/keyed_service.h" |
69 #include "components/os_crypt/os_crypt_mocker.h" | 69 #include "components/os_crypt/os_crypt_mocker.h" |
70 #include "components/search_engines/template_url_service.h" | 70 #include "components/search_engines/template_url_service.h" |
71 #include "components/signin/core/browser/profile_identity_provider.h" | 71 #include "components/signin/core/browser/profile_identity_provider.h" |
72 #include "components/signin/core/browser/signin_manager.h" | 72 #include "components/signin/core/browser/signin_manager.h" |
| 73 #include "components/sync/driver/invalidation_helper.h" |
| 74 #include "components/sync/driver/sync_driver_switches.h" |
73 #include "components/sync/engine_impl/sync_scheduler_impl.h" | 75 #include "components/sync/engine_impl/sync_scheduler_impl.h" |
74 #include "components/sync/protocol/sync.pb.h" | 76 #include "components/sync/protocol/sync.pb.h" |
75 #include "components/sync/test/fake_server/fake_server.h" | 77 #include "components/sync/test/fake_server/fake_server.h" |
76 #include "components/sync/test/fake_server/fake_server_network_resources.h" | 78 #include "components/sync/test/fake_server/fake_server_network_resources.h" |
77 #include "components/sync_driver/invalidation_helper.h" | |
78 #include "components/sync_driver/sync_driver_switches.h" | |
79 #include "content/public/browser/navigation_entry.h" | 79 #include "content/public/browser/navigation_entry.h" |
80 #include "content/public/browser/notification_service.h" | 80 #include "content/public/browser/notification_service.h" |
81 #include "content/public/browser/web_contents.h" | 81 #include "content/public/browser/web_contents.h" |
82 #include "content/public/test/test_browser_thread.h" | 82 #include "content/public/test/test_browser_thread.h" |
83 #include "google_apis/gaia/gaia_urls.h" | 83 #include "google_apis/gaia/gaia_urls.h" |
84 #include "net/base/escape.h" | 84 #include "net/base/escape.h" |
85 #include "net/base/load_flags.h" | 85 #include "net/base/load_flags.h" |
86 #include "net/base/network_change_notifier.h" | 86 #include "net/base/network_change_notifier.h" |
87 #include "net/base/port_util.h" | 87 #include "net/base/port_util.h" |
88 #include "net/url_request/test_url_fetcher_factory.h" | 88 #include "net/url_request/test_url_fetcher_factory.h" |
(...skipping 1042 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1131 | 1131 |
1132 void SyncTest::TriggerSyncForModelTypes(int index, | 1132 void SyncTest::TriggerSyncForModelTypes(int index, |
1133 syncer::ModelTypeSet model_types) { | 1133 syncer::ModelTypeSet model_types) { |
1134 GetSyncService(index)->TriggerRefresh(model_types); | 1134 GetSyncService(index)->TriggerRefresh(model_types); |
1135 } | 1135 } |
1136 | 1136 |
1137 void SyncTest::SetPreexistingPreferencesFileContents( | 1137 void SyncTest::SetPreexistingPreferencesFileContents( |
1138 const std::string& contents) { | 1138 const std::string& contents) { |
1139 preexisting_preferences_file_contents_ = contents; | 1139 preexisting_preferences_file_contents_ = contents; |
1140 } | 1140 } |
OLD | NEW |