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

Unified Diff: components/sync/driver/glue/sync_backend_host_impl.cc

Issue 2442453002: [Sync] Adds a new switch for enabling the new local server backend. (Closed)
Patch Set: Fix InitArgs contructor. 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_impl.cc
diff --git a/components/sync/driver/glue/sync_backend_host_impl.cc b/components/sync/driver/glue/sync_backend_host_impl.cc
index 1132f50c6571a61ac4abea5fef3c9d70db4aa936..9d420acbbf6e64399c1f2830af06bfaed740d51a 100644
--- a/components/sync/driver/glue/sync_backend_host_impl.cc
+++ b/components/sync/driver/glue/sync_backend_host_impl.cc
@@ -79,6 +79,8 @@ void SyncBackendHostImpl::Initialize(
const std::string& sync_user_agent,
const SyncCredentials& credentials,
bool delete_sync_data_folder,
+ bool enable_local_sync_backend,
+ const base::FilePath& local_sync_backend_folder,
std::unique_ptr<SyncManagerFactory> sync_manager_factory,
const WeakHandle<UnrecoverableErrorHandler>& unrecoverable_error_handler,
const base::Closure& report_unrecoverable_error_function,
@@ -119,6 +121,7 @@ void SyncBackendHostImpl::Initialize(
core_->GetRequestContextCancelationSignal()),
credentials, invalidator_ ? invalidator_->GetInvalidatorClientId() : "",
std::move(sync_manager_factory), delete_sync_data_folder,
+ enable_local_sync_backend, local_sync_backend_folder,
sync_prefs_->GetEncryptionBootstrapToken(),
sync_prefs_->GetKeystoreEncryptionBootstrapToken(),
std::unique_ptr<EngineComponentsFactory>(
« no previous file with comments | « components/sync/driver/glue/sync_backend_host_impl.h ('k') | components/sync/driver/glue/sync_backend_host_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698