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

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: Update tag 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..bbd2dbc7a6615b1e56585d67f08cb3cd8e1b2f19 100644
--- a/components/metrics/proto/memory_leak_report.proto
+++ b/components/metrics/proto/memory_leak_report.proto
@@ -8,7 +8,7 @@ option optimize_for = LITE_RUNTIME;
package metrics;
-// Next tag: 5
+// Next tag: 6
message MemoryLeakReportProto {
// The call stack at which the leak was found. This is a list of offsets
// within the program binary. The first entry is the deepest level of the call
@@ -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