OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef COMPONENTS_BROWSER_WATCHER_STABILITY_DEBUGGING_WIN_H_ |
| 6 #define COMPONENTS_BROWSER_WATCHER_STABILITY_DEBUGGING_WIN_H_ |
| 7 |
| 8 #include "base/files/file_path.h" |
| 9 #include "base/gtest_prod_util.h" |
| 10 #include "base/process/process.h" |
| 11 |
| 12 namespace browser_watcher { |
| 13 |
| 14 class StabilityDebugging { |
| 15 public: |
| 16 // Returns the the stability debugging directory. |
| 17 static base::FilePath StabilityDebugging::GetDir( |
| 18 const base::FilePath& user_data_dir); |
| 19 |
| 20 // On success, |path| contains the path to the stability debugging information |
| 21 // file for |process|. |
| 22 static bool GetFileForProcess(const base::Process& process, |
| 23 const base::FilePath& user_data_dir, |
| 24 base::FilePath* path); |
| 25 |
| 26 // Returns a pattern that matches file names returned by GetFileForProcess. |
| 27 static base::FilePath::StringType GetFilePattern(); |
| 28 }; |
| 29 |
| 30 } // namespace browser_watcher |
| 31 |
| 32 #endif // COMPONENTS_BROWSER_WATCHER_STABILITY_DEBUGGING_WIN_H_ |
OLD | NEW |