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

Unified Diff: components/browser_sync/profile_sync_service.cc

Issue 2710623003: [sync] Clean up path generation for the local sync database. (Closed)
Patch Set: Created 3 years, 10 months 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/browser_sync/profile_sync_service.cc
diff --git a/components/browser_sync/profile_sync_service.cc b/components/browser_sync/profile_sync_service.cc
index 2909868bc33e3addeee8a618ad28c941de3a26e5..9e533af9abe1b403a77f2195fc55da1247b9d2fc 100644
--- a/components/browser_sync/profile_sync_service.cc
+++ b/components/browser_sync/profile_sync_service.cc
@@ -162,6 +162,7 @@ ProfileSyncService::ProfileSyncService(InitParams init_params)
std::move(init_params.signin_wrapper),
init_params.channel,
init_params.base_directory,
+ init_params.local_sync_backend_folder,
init_params.debug_identifier),
OAuth2TokenService::Consumer("sync"),
last_auth_error_(AuthError::AuthErrorNone()),
@@ -176,7 +177,6 @@ ProfileSyncService::ProfileSyncService(InitParams init_params)
engine_initialized_(false),
sync_disabled_by_admin_(false),
is_auth_in_progress_(false),
- local_sync_backend_folder_(init_params.local_sync_backend_folder),
unrecoverable_error_reason_(ERROR_REASON_UNSET),
expect_sync_configuration_aborted_(false),
configure_status_(DataTypeManager::UNKNOWN),

Powered by Google App Engine
This is Rietveld 408576698