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

Unified Diff: components/sync/driver/glue/sync_backend_host_mock.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
Index: components/sync/driver/glue/sync_backend_host_mock.cc
diff --git a/components/sync/driver/glue/sync_backend_host_mock.cc b/components/sync/driver/glue/sync_backend_host_mock.cc
index 2c351dae638ad9a63b12acc56c65f691ff871795..5857899c0989acf796279c16afe8cd3841c8fe00 100644
--- a/components/sync/driver/glue/sync_backend_host_mock.cc
+++ b/components/sync/driver/glue/sync_backend_host_mock.cc
@@ -16,7 +16,7 @@ SyncBackendHostMock::~SyncBackendHostMock() {}
void SyncBackendHostMock::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,
@@ -53,10 +53,7 @@ bool SyncBackendHostMock::SetDecryptionPassphrase(
void SyncBackendHostMock::StopSyncingForShutdown() {}
-std::unique_ptr<base::Thread> SyncBackendHostMock::Shutdown(
- ShutdownReason reason) {
- return std::unique_ptr<base::Thread>();
-}
+void SyncBackendHostMock::Shutdown(ShutdownReason reason) {}
void SyncBackendHostMock::UnregisterInvalidationIds() {}
@@ -120,10 +117,6 @@ void SyncBackendHostMock::GetModelSafeRoutingInfo(
void SyncBackendHostMock::FlushDirectory() const {}
-base::MessageLoop* SyncBackendHostMock::GetSyncLoopForTesting() {
- return nullptr;
-}
-
void SyncBackendHostMock::RefreshTypesForTest(ModelTypeSet types) {}
void SyncBackendHostMock::RequestBufferedProtocolEventsAndEnableForwarding() {}
« no previous file with comments | « components/sync/driver/glue/sync_backend_host_mock.h ('k') | components/sync/driver/glue/sync_backend_registrar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698