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

Unified Diff: components/sync/driver/glue/sync_backend_host_mock.h

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
Index: components/sync/driver/glue/sync_backend_host_mock.h
diff --git a/components/sync/driver/glue/sync_backend_host_mock.h b/components/sync/driver/glue/sync_backend_host_mock.h
index 2ca3b68ad7ac8566615c74c2369e394ffad460cc..752e562ce9856029942c8e1b9a8a76bc316181b0 100644
--- a/components/sync/driver/glue/sync_backend_host_mock.h
+++ b/components/sync/driver/glue/sync_backend_host_mock.h
@@ -28,7 +28,7 @@ class SyncBackendHostMock : public SyncBackendHost {
void Initialize(
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 WeakHandle<JsEventHandler>& event_handler,
@@ -58,7 +58,7 @@ class SyncBackendHostMock : public SyncBackendHost {
void StopSyncingForShutdown() override;
- std::unique_ptr<base::Thread> Shutdown(ShutdownReason reason) override;
+ void Shutdown(ShutdownReason reason) override;
void UnregisterInvalidationIds() override;
@@ -105,8 +105,6 @@ class SyncBackendHostMock : public SyncBackendHost {
void EnableDirectoryTypeDebugInfoForwarding() override;
void DisableDirectoryTypeDebugInfoForwarding() override;
- base::MessageLoop* GetSyncLoopForTesting() override;
-
void RefreshTypesForTest(ModelTypeSet types) override;
void ClearServerData(
« no previous file with comments | « components/sync/driver/glue/sync_backend_host_impl_unittest.cc ('k') | components/sync/driver/glue/sync_backend_host_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698