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

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

Issue 2473613003: [Sync] Adds a new switch for enabling the new local server backend. (Closed)
Patch Set: Ifdef protect the variable. 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_core.h
diff --git a/components/sync/driver/glue/sync_backend_host_core.h b/components/sync/driver/glue/sync_backend_host_core.h
index 1af32252372671c3e720260eda82bc16115a0144..486af1e008947ca8791be456b4c2d223bdc10d6f 100644
--- a/components/sync/driver/glue/sync_backend_host_core.h
+++ b/components/sync/driver/glue/sync_backend_host_core.h
@@ -43,6 +43,8 @@ struct DoInitializeOptions {
const std::string& invalidator_client_id,
std::unique_ptr<SyncManagerFactory> sync_manager_factory,
bool delete_sync_data_folder,
+ bool enable_local_sync_backend,
+ const base::FilePath& local_sync_backend_folder,
const std::string& restored_key_for_bootstrapping,
const std::string& restored_keystore_key_for_bootstrapping,
std::unique_ptr<EngineComponentsFactory> engine_components_factory,
@@ -66,6 +68,8 @@ struct DoInitializeOptions {
std::unique_ptr<SyncManagerFactory> sync_manager_factory;
std::string lsid;
bool delete_sync_data_folder;
+ bool enable_local_sync_backend;
+ const base::FilePath local_sync_backend_folder;
std::string restored_key_for_bootstrapping;
std::string restored_keystore_key_for_bootstrapping;
std::unique_ptr<EngineComponentsFactory> engine_components_factory;
« no previous file with comments | « components/sync/driver/glue/sync_backend_host.h ('k') | components/sync/driver/glue/sync_backend_host_core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698