| 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 #ifndef COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_TEST_UTIL_H_ | 5 #ifndef COMPONENTS_BROWSER_SYNC_PROFILE_SYNC_TEST_UTIL_H_ |
| 6 #define COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_TEST_UTIL_H_ | 6 #define COMPONENTS_BROWSER_SYNC_PROFILE_SYNC_TEST_UTIL_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
| 14 #include "base/test/sequenced_worker_pool_owner.h" | 14 #include "base/test/sequenced_worker_pool_owner.h" |
| 15 #include "base/time/time.h" | 15 #include "base/time/time.h" |
| 16 #include "components/browser_sync/browser/profile_sync_service.h" | 16 #include "components/browser_sync/profile_sync_service.h" |
| 17 #include "components/invalidation/impl/fake_invalidation_service.h" | 17 #include "components/invalidation/impl/fake_invalidation_service.h" |
| 18 #include "components/signin/core/browser/account_tracker_service.h" | 18 #include "components/signin/core/browser/account_tracker_service.h" |
| 19 #include "components/signin/core/browser/fake_profile_oauth2_token_service.h" | 19 #include "components/signin/core/browser/fake_profile_oauth2_token_service.h" |
| 20 #include "components/signin/core/browser/fake_signin_manager.h" | 20 #include "components/signin/core/browser/fake_signin_manager.h" |
| 21 #include "components/signin/core/browser/test_signin_client.h" | 21 #include "components/signin/core/browser/test_signin_client.h" |
| 22 #include "components/sync/driver/fake_sync_client.h" | 22 #include "components/sync/driver/fake_sync_client.h" |
| 23 #include "components/sync/driver/sync_api_component_factory_mock.h" | 23 #include "components/sync/driver/sync_api_component_factory_mock.h" |
| 24 #include "components/sync_sessions/fake_sync_sessions_client.h" | 24 #include "components/sync_sessions/fake_sync_sessions_client.h" |
| 25 #include "components/syncable_prefs/testing_pref_service_syncable.h" | 25 #include "components/syncable_prefs/testing_pref_service_syncable.h" |
| 26 | 26 |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 SyncApiComponentFactoryMock component_factory_; | 176 SyncApiComponentFactoryMock component_factory_; |
| 177 sync_sessions::FakeSyncSessionsClient sync_sessions_client_; | 177 sync_sessions::FakeSyncSessionsClient sync_sessions_client_; |
| 178 invalidation::FakeInvalidationService fake_invalidation_service_; | 178 invalidation::FakeInvalidationService fake_invalidation_service_; |
| 179 scoped_refptr<net::URLRequestContextGetter> url_request_context_; | 179 scoped_refptr<net::URLRequestContextGetter> url_request_context_; |
| 180 | 180 |
| 181 DISALLOW_COPY_AND_ASSIGN(ProfileSyncServiceBundle); | 181 DISALLOW_COPY_AND_ASSIGN(ProfileSyncServiceBundle); |
| 182 }; | 182 }; |
| 183 | 183 |
| 184 } // namespace browser_sync | 184 } // namespace browser_sync |
| 185 | 185 |
| 186 #endif // COMPONENTS_BROWSER_SYNC_BROWSER_PROFILE_SYNC_TEST_UTIL_H_ | 186 #endif // COMPONENTS_BROWSER_SYNC_PROFILE_SYNC_TEST_UTIL_H_ |
| OLD | NEW |