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

Unified Diff: components/browser_watcher/stability_report.proto

Issue 2715903003: Bound the impact of system instability on chrome instability. (Closed)
Patch Set: Merge fixups Created 3 years, 9 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: components/browser_watcher/stability_report.proto
diff --git a/components/browser_watcher/stability_report.proto b/components/browser_watcher/stability_report.proto
index b5039a23e83b4835b100fae1ab813792daa4ad83..015d4751b9dee57c6451a1f1441c80cb2deec491 100644
--- a/components/browser_watcher/stability_report.proto
+++ b/components/browser_watcher/stability_report.proto
@@ -10,9 +10,18 @@ package browser_watcher;
// The state of the system on which Chrome is running (shutting down, battery
// level, load, etc.).
-// Next id: 1
+// Next id: 2
message SystemState {
- // TODO(manzagop): flesh out.
+ // The state of a system session. A system session begins when the system
+ // starts and ends when it shuts down.
+ enum SessionState {
+ UNKNOWN = 0;
+ CLEAN = 1; // Normal shutdown.
+ UNCLEAN = 2; // Abnormal shutdown (system crash, power loss).
+ }
+
+ // The state of the system session that contained Chrome's execution.
+ optional SessionState session_state = 1;
}
// Next id: 10
« no previous file with comments | « components/browser_watcher/stability_data_names.cc ('k') | components/browser_watcher/system_session_analyzer_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698