| 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 "components/bookmarks/browser/bookmark_model.h" | 10 #include "components/bookmarks/browser/bookmark_model.h" |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 init_params.sync_client = std::move(sync_client); | 253 init_params.sync_client = std::move(sync_client); |
| 254 init_params.signin_wrapper = | 254 init_params.signin_wrapper = |
| 255 base::MakeUnique<SigninManagerWrapper>(signin_manager()); | 255 base::MakeUnique<SigninManagerWrapper>(signin_manager()); |
| 256 init_params.oauth2_token_service = auth_service(); | 256 init_params.oauth2_token_service = auth_service(); |
| 257 init_params.network_time_update_callback = | 257 init_params.network_time_update_callback = |
| 258 base::Bind(&EmptyNetworkTimeUpdate); | 258 base::Bind(&EmptyNetworkTimeUpdate); |
| 259 init_params.base_directory = base::FilePath(FILE_PATH_LITERAL("dummyPath")); | 259 init_params.base_directory = base::FilePath(FILE_PATH_LITERAL("dummyPath")); |
| 260 init_params.url_request_context = url_request_context(); | 260 init_params.url_request_context = url_request_context(); |
| 261 init_params.debug_identifier = "dummyDebugName"; | 261 init_params.debug_identifier = "dummyDebugName"; |
| 262 init_params.channel = version_info::Channel::UNKNOWN; | 262 init_params.channel = version_info::Channel::UNKNOWN; |
| 263 init_params.db_thread = db_thread_; | |
| 264 init_params.file_thread = base::ThreadTaskRunnerHandle::Get(); | |
| 265 init_params.blocking_pool = worker_pool_owner_.pool().get(); | 263 init_params.blocking_pool = worker_pool_owner_.pool().get(); |
| 266 | 264 |
| 267 return init_params; | 265 return init_params; |
| 268 } | 266 } |
| 269 | 267 |
| 270 } // namespace browser_sync | 268 } // namespace browser_sync |
| OLD | NEW |