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

Side by Side Diff: components/browser_watcher/stability_debugging_win.h

Issue 2128683002: Collect unclean shutdown debug information (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tracker
Patch Set: Merge Created 4 years, 3 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW
« no previous file with comments | « components/browser_watcher/print_report_main_win.cc ('k') | components/browser_watcher/stability_debugging_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698