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

Unified Diff: base/debug/activity_tracker.h

Issue 2767193002: Postmortem report collection: validate internal state (Closed)
Patch Set: Address comment 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
« no previous file with comments | « base/debug/activity_analyzer.cc ('k') | base/debug/activity_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug/activity_tracker.h
diff --git a/base/debug/activity_tracker.h b/base/debug/activity_tracker.h
index c968f38c70bbe7fa876c74160018f3eb5f0c05c1..0a37935935209a638d868721f2c4ef21b5ef2331 100644
--- a/base/debug/activity_tracker.h
+++ b/base/debug/activity_tracker.h
@@ -1022,9 +1022,12 @@ class BASE_EXPORT GlobalActivityTracker {
code);
}
+ // Marks the tracked data as deleted.
+ void MarkDeleted();
+
// Gets the process ID used for tracking. This is typically the same as what
// the OS thinks is the current process but can be overridden for testing.
- int64_t process_id() { return process_id_; };
+ int64_t process_id() { return process_id_; }
// Accesses the process data record for storing arbitrary key/value pairs.
// Updates to this are thread-safe.
« no previous file with comments | « base/debug/activity_analyzer.cc ('k') | base/debug/activity_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698