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

Unified Diff: components/browser_sync/profile_sync_service_unittest.cc

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/browser_sync/profile_sync_service.cc ('k') | components/browser_sync/profile_sync_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/browser_sync/profile_sync_service_unittest.cc
diff --git a/components/browser_sync/profile_sync_service_unittest.cc b/components/browser_sync/profile_sync_service_unittest.cc
index b0e71fb1690710d32c86423cf22da4ffee03acf2..af05fc8c12a874a79e14f75ff00f87b96bdad0dc 100644
--- a/components/browser_sync/profile_sync_service_unittest.cc
+++ b/components/browser_sync/profile_sync_service_unittest.cc
@@ -103,7 +103,7 @@ class TestSyncServiceObserver : public syncer::SyncServiceObserver {
class SyncBackendHostNoReturn : public SyncBackendHostMock {
void Initialize(
syncer::SyncFrontend* frontend,
- std::unique_ptr<base::Thread> sync_thread,
+ base::Thread* sync_thread,
const scoped_refptr<base::SingleThreadTaskRunner>& db_thread,
const scoped_refptr<base::SingleThreadTaskRunner>& file_thread,
const syncer::WeakHandle<syncer::JsEventHandler>& event_handler,
@@ -130,7 +130,7 @@ class SyncBackendHostMockCollectDeleteDirParam : public SyncBackendHostMock {
void Initialize(
syncer::SyncFrontend* frontend,
- std::unique_ptr<base::Thread> sync_thread,
+ base::Thread* sync_thread,
const scoped_refptr<base::SingleThreadTaskRunner>& db_thread,
const scoped_refptr<base::SingleThreadTaskRunner>& file_thread,
const syncer::WeakHandle<syncer::JsEventHandler>& event_handler,
@@ -149,7 +149,7 @@ class SyncBackendHostMockCollectDeleteDirParam : public SyncBackendHostMock {
saved_nigori_state) override {
delete_dir_param_->push_back(delete_sync_data_folder);
SyncBackendHostMock::Initialize(
- frontend, std::move(sync_thread), db_thread, file_thread, event_handler,
+ frontend, sync_thread, db_thread, file_thread, event_handler,
service_url, sync_user_agent, credentials, delete_sync_data_folder,
enable_local_sync_backend, local_sync_backend_folder,
std::move(sync_manager_factory), unrecoverable_error_handler,
« no previous file with comments | « components/browser_sync/profile_sync_service.cc ('k') | components/browser_sync/profile_sync_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698