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

Unified Diff: components/sync/engine_impl/all_status.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.h ('k') | components/sync/engine_impl/sync_manager_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/engine_impl/all_status.cc
diff --git a/components/sync/engine_impl/all_status.cc b/components/sync/engine_impl/all_status.cc
index e311e019fccc8d0fc67f21a4d144aa27eb07d726..177c930795021b263fb3e4a2056bb3babdd0bd20 100644
--- a/components/sync/engine_impl/all_status.cc
+++ b/components/sync/engine_impl/all_status.cc
@@ -185,6 +185,11 @@ void AllStatus::IncrementNudgeCounter(NudgeSource source) {
NOTREACHED();
}
+void AllStatus::SetLocalBackendFolder(const std::string& folder) {
+ ScopedStatusLock lock(this);
+ status_.local_sync_folder = folder;
+}
+
ScopedStatusLock::ScopedStatusLock(AllStatus* allstatus)
: allstatus_(allstatus) {
allstatus->mutex_.Acquire();
« no previous file with comments | « components/sync/engine_impl/all_status.h ('k') | components/sync/engine_impl/sync_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698