Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Side by Side Diff: components/browser_sync/profile_sync_test_util.cc

Issue 2732333003: [Sync] ModelTypeStore factory shouldn't require valid PSS to function correctly (Closed)
Patch Set: Address comments Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/threading/thread_task_runner_handle.h" 10 #include "base/threading/thread_task_runner_handle.h"
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 init_params.sync_client = std::move(sync_client); 254 init_params.sync_client = std::move(sync_client);
255 init_params.signin_wrapper = 255 init_params.signin_wrapper =
256 base::MakeUnique<SigninManagerWrapper>(signin_manager()); 256 base::MakeUnique<SigninManagerWrapper>(signin_manager());
257 init_params.oauth2_token_service = auth_service(); 257 init_params.oauth2_token_service = auth_service();
258 init_params.network_time_update_callback = 258 init_params.network_time_update_callback =
259 base::Bind(&EmptyNetworkTimeUpdate); 259 base::Bind(&EmptyNetworkTimeUpdate);
260 init_params.base_directory = base::FilePath(FILE_PATH_LITERAL("dummyPath")); 260 init_params.base_directory = base::FilePath(FILE_PATH_LITERAL("dummyPath"));
261 init_params.url_request_context = url_request_context(); 261 init_params.url_request_context = url_request_context();
262 init_params.debug_identifier = "dummyDebugName"; 262 init_params.debug_identifier = "dummyDebugName";
263 init_params.channel = version_info::Channel::UNKNOWN; 263 init_params.channel = version_info::Channel::UNKNOWN;
264 init_params.blocking_task_runner =
265 worker_pool_owner_.pool()->GetSequencedTaskRunnerWithShutdownBehavior(
266 worker_pool_owner_.pool()->GetSequenceToken(),
267 base::SequencedWorkerPool::SKIP_ON_SHUTDOWN);
268 264
269 return init_params; 265 return init_params;
270 } 266 }
271 267
272 } // namespace browser_sync 268 } // namespace browser_sync
OLDNEW
« no previous file with comments | « components/browser_sync/profile_sync_service.cc ('k') | components/sync/driver/fake_sync_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698