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

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

Issue 2344343002: Wire in postmortem report collection (Closed)
Patch Set: Address Siggi's second round Created 4 years, 2 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.
Alexei Svitkine (slow) 2016/09/23 14:13:53 Nit: No (c) for new files
manzagop (departed) 2016/09/23 21:57:01 Done. Here and elsewhere.
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 {
Alexei Svitkine (slow) 2016/09/23 14:13:53 Is the extra class wrapper really necessary for th
manzagop (departed) 2016/09/23 21:57:01 I added "Stability" to the function names. Done.
15 public:
16 // Returns the the stability debugging directory.
17 static base::FilePath GetDir(const base::FilePath& user_data_dir);
18
19 // On success, |path| contains the path to the stability debugging information
20 // file for |process|.
21 static bool GetFileForProcess(const base::Process& process,
22 const base::FilePath& user_data_dir,
23 base::FilePath* path);
24
25 // Returns a pattern that matches file names returned by GetFileForProcess.
26 static base::FilePath::StringType GetFilePattern();
27 };
28
29 } // namespace browser_watcher
30
31 #endif // COMPONENTS_BROWSER_WATCHER_STABILITY_DEBUGGING_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698