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

Unified Diff: sync/internal_api/sync_manager_impl.cc

Issue 2084243004: [WIP][tracing] Add memory dump provider for sync Directory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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: sync/internal_api/sync_manager_impl.cc
diff --git a/sync/internal_api/sync_manager_impl.cc b/sync/internal_api/sync_manager_impl.cc
index 3f5c370419e6646e55d44ffeb5612712449b7832..c2173a95644abecda73bc0b602c85f385b5ee498 100644
--- a/sync/internal_api/sync_manager_impl.cc
+++ b/sync/internal_api/sync_manager_impl.cc
@@ -920,6 +920,10 @@ SyncStatus SyncManagerImpl::GetDetailedStatus() const {
return allstatus_.status();
}
+void SyncManagerImpl::OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd) {
+ directory()->OnMemoryDump(pmd);
+}
+
void SyncManagerImpl::SaveChanges() {
directory()->SaveChanges();
}

Powered by Google App Engine
This is Rietveld 408576698