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 #include "components/browser_sync/profile_sync_test_util.h" | 5 #include "components/browser_sync/profile_sync_test_util.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/memory/ptr_util.h" | 9 #include "base/memory/ptr_util.h" |
| 10 #include "base/single_thread_task_runner.h" |
10 #include "base/threading/thread_task_runner_handle.h" | 11 #include "base/threading/thread_task_runner_handle.h" |
11 #include "components/bookmarks/browser/bookmark_model.h" | 12 #include "components/bookmarks/browser/bookmark_model.h" |
12 #include "components/history/core/browser/history_model_worker.h" | 13 #include "components/history/core/browser/history_model_worker.h" |
13 #include "components/history/core/browser/history_service.h" | 14 #include "components/history/core/browser/history_service.h" |
14 #include "components/pref_registry/pref_registry_syncable.h" | 15 #include "components/pref_registry/pref_registry_syncable.h" |
15 #include "components/signin/core/browser/signin_manager_base.h" | 16 #include "components/signin/core/browser/signin_manager_base.h" |
16 #include "components/sync/base/sync_prefs.h" | 17 #include "components/sync/base/sync_prefs.h" |
17 #include "components/sync/driver/signin_manager_wrapper.h" | 18 #include "components/sync/driver/signin_manager_wrapper.h" |
18 #include "components/sync/engine/browser_thread_model_worker.h" | 19 #include "components/sync/engine/browser_thread_model_worker.h" |
19 #include "components/sync/engine/passive_model_worker.h" | 20 #include "components/sync/engine/passive_model_worker.h" |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 base::Bind(&EmptyNetworkTimeUpdate); | 260 base::Bind(&EmptyNetworkTimeUpdate); |
260 init_params.base_directory = base::FilePath(FILE_PATH_LITERAL("dummyPath")); | 261 init_params.base_directory = base::FilePath(FILE_PATH_LITERAL("dummyPath")); |
261 init_params.url_request_context = url_request_context(); | 262 init_params.url_request_context = url_request_context(); |
262 init_params.debug_identifier = "dummyDebugName"; | 263 init_params.debug_identifier = "dummyDebugName"; |
263 init_params.channel = version_info::Channel::UNKNOWN; | 264 init_params.channel = version_info::Channel::UNKNOWN; |
264 | 265 |
265 return init_params; | 266 return init_params; |
266 } | 267 } |
267 | 268 |
268 } // namespace browser_sync | 269 } // namespace browser_sync |
OLD | NEW |