Index: components/browser_watcher/stability_paths.h |
diff --git a/components/browser_watcher/stability_paths.h b/components/browser_watcher/stability_paths.h |
index 07216f1f75cb4a241b2b06d67bf8ccd9fc7cab00..7941c3782d6375a0c95ef7e28ec2b1f74d982b06 100644 |
--- a/components/browser_watcher/stability_paths.h |
+++ b/components/browser_watcher/stability_paths.h |
@@ -35,8 +35,15 @@ bool GetStabilityFileForProcess(const base::Process& process, |
// Returns a pattern that matches file names returned by GetFileForProcess. |
base::FilePath::StringType GetStabilityFilePattern(); |
-// Marks the stability file for deletion. |
-void MarkStabilityFileForDeletion(const base::FilePath& user_data_dir); |
+// Sets the current process's stability file's state to deleted (via the |
+// GlobalActivityTracker) and opens the file for deletion. Metrics pertaining to |
+// stability recording are logged. |
+void MarkOwnStabilityFileDeleted(const base::FilePath& user_data_dir); |
+ |
+// Sets another process's stability file's state to deleted, then opens it for |
+// deletion. This function is meant for use by the crashpad handler; it logs |
+// metrics labelled as in the context of crash collection. |
+void MarkStabilityFileDeletedOnCrash(const base::FilePath& file_path); |
#endif // defined(OS_WIN) |