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

Unified Diff: components/sync/engine_impl/sync_manager_impl.cc

Issue 2619763002: Expose local sync mode status in the chrome://sync-internals page. (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « components/sync/engine_impl/all_status.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/engine_impl/sync_manager_impl.cc
diff --git a/components/sync/engine_impl/sync_manager_impl.cc b/components/sync/engine_impl/sync_manager_impl.cc
index a237ea971109acd1d86d249d754a61f170e99158..e52090e8b2f7ffb56c0e841a10f43fce067e233c 100644
--- a/components/sync/engine_impl/sync_manager_impl.cc
+++ b/components/sync/engine_impl/sync_manager_impl.cc
@@ -277,6 +277,8 @@ void SyncManagerImpl::Init(InitArgs* args) {
if (args->enable_local_sync_backend) {
VLOG(1) << "Running against local sync backend.";
+ allstatus_.SetLocalBackendFolder(
+ args->local_sync_backend_folder.AsUTF8Unsafe());
connection_manager_ = base::MakeUnique<LoopbackConnectionManager>(
args->cancelation_signal, args->local_sync_backend_folder);
} else {
« no previous file with comments | « components/sync/engine_impl/all_status.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698