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

Unified Diff: components/browser_watcher/stability_debugging_win.h

Issue 2531123002: Record MetricsService's execution phase to the stability file (Closed)
Patch Set: Created 4 years, 1 month 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_debugging_win.h
diff --git a/components/browser_watcher/stability_debugging_win.h b/components/browser_watcher/stability_debugging_win.h
index 3ac14be048bbcb1decd34205859f3615e3b60777..ebcc197b6e4030d988fc587b94d7428acb2db364 100644
--- a/components/browser_watcher/stability_debugging_win.h
+++ b/components/browser_watcher/stability_debugging_win.h
@@ -5,9 +5,12 @@
#ifndef COMPONENTS_BROWSER_WATCHER_STABILITY_DEBUGGING_WIN_H_
#define COMPONENTS_BROWSER_WATCHER_STABILITY_DEBUGGING_WIN_H_
+#include <stdint.h>
+
#include "base/files/file_path.h"
#include "base/gtest_prod_util.h"
#include "base/process/process.h"
+#include "base/strings/string_piece.h"
namespace browser_watcher {
@@ -26,6 +29,9 @@ base::FilePath::StringType GetStabilityFilePattern();
// Marks the stability file for deletion.
void MarkStabilityFileForDeletion(const base::FilePath& user_data_dir);
+// Adds or updates the global stability user data.
+void SetStabilityDataInt(base::StringPiece name, int64_t value);
+
} // namespace browser_watcher
#endif // COMPONENTS_BROWSER_WATCHER_STABILITY_DEBUGGING_WIN_H_

Powered by Google App Engine
This is Rietveld 408576698