| Index: components/browser_watcher/stability_paths.h
|
| diff --git a/components/browser_watcher/stability_paths.h b/components/browser_watcher/stability_paths.h
|
| index 7941c3782d6375a0c95ef7e28ec2b1f74d982b06..0b2078fbf9673c582f9ebab954ccd87b0a492ad0 100644
|
| --- a/components/browser_watcher/stability_paths.h
|
| +++ b/components/browser_watcher/stability_paths.h
|
| @@ -5,6 +5,9 @@
|
| #ifndef COMPONENTS_BROWSER_WATCHER_STABILITY_PATHS_H_
|
| #define COMPONENTS_BROWSER_WATCHER_STABILITY_PATHS_H_
|
|
|
| +#include <set>
|
| +#include <vector>
|
| +
|
| #include "base/files/file_path.h"
|
| #include "base/process/process.h"
|
| #include "build/build_config.h"
|
| @@ -35,6 +38,13 @@ bool GetStabilityFileForProcess(const base::Process& process,
|
| // Returns a pattern that matches file names returned by GetFileForProcess.
|
| base::FilePath::StringType GetStabilityFilePattern();
|
|
|
| +// Returns files in |stability_dir| that match |stability_file_pattern|,
|
| +// excluding those in |excluded_stability_files|.
|
| +std::vector<base::FilePath> GetStabilityFiles(
|
| + const base::FilePath& stability_dir,
|
| + const base::FilePath::StringType& stability_file_pattern,
|
| + const std::set<base::FilePath>& excluded_stability_files);
|
| +
|
| // 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.
|
|
|