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

Unified Diff: services/resource_coordinator/public/cpp/memory/memory_instrumentation_struct_traits.cc

Issue 2831073003: Reland of [Memory UMA] Return the extra_processes_dump map as part of the ResponseCallback (Closed)
Patch Set: Created 3 years, 8 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: services/resource_coordinator/public/cpp/memory/memory_instrumentation_struct_traits.cc
diff --git a/services/resource_coordinator/public/cpp/memory/memory_instrumentation_struct_traits.cc b/services/resource_coordinator/public/cpp/memory/memory_instrumentation_struct_traits.cc
index 7bb49b68f428f66c9e136463fe19909854c6bcbb..fcf7e6e45c54d8112a269331a3eb2566cf241807 100644
--- a/services/resource_coordinator/public/cpp/memory/memory_instrumentation_struct_traits.cc
+++ b/services/resource_coordinator/public/cpp/memory/memory_instrumentation_struct_traits.cc
@@ -5,6 +5,7 @@
#include "services/resource_coordinator/public/cpp/memory/memory_instrumentation_struct_traits.h"
#include "base/trace_event/memory_dump_request_args.h"
+#include "mojo/common/common_custom_types_struct_traits.h"
#include "services/resource_coordinator/public/interfaces/memory/memory_instrumentation.mojom.h"
namespace mojo {
@@ -135,6 +136,8 @@
return false;
if (!input.ReadOsDump(&out->os_dump))
return false;
+ if (!input.ReadExtraProcessesDump(&out->extra_processes_dump))
+ return false;
return true;
}

Powered by Google App Engine
This is Rietveld 408576698