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

Unified Diff: components/metrics/proto/memory_leak_report.proto

Issue 2067733002: Add MemoryLeakReportProto enum/field for type of process (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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/proto/memory_leak_report.proto
diff --git a/components/metrics/proto/memory_leak_report.proto b/components/metrics/proto/memory_leak_report.proto
index 65a40e5b249886fb0f521e454682bd3aa4dd0358..496cf9fb72ed9317567594e6db7c1cec20988d22 100644
--- a/components/metrics/proto/memory_leak_report.proto
+++ b/components/metrics/proto/memory_leak_report.proto
@@ -61,6 +61,14 @@ message MemoryLeakReportProto {
// Parameters used to initialize the leak detector.
optional Params params = 3;
+ // The type of Chrome process on which this leak report was generated.
+ enum ProcessType {
+ UNKNOWN_PROCESS = 0;
+ BROWSER_PROCESS = 1;
+ RENDERER_PROCESS = 2;
+ }
+ optional ProcessType source_process = 5;
+
//////////////////////////////////////////////////////////////////////////////
// Represents a single snapshot of the internal bookkeeping of the Runtime
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698