OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 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 CHROME_CHROME_WATCHER_KASKO_UTIL_H_ | |
6 #define CHROME_CHROME_WATCHER_KASKO_UTIL_H_ | |
7 | |
8 #include <windows.h> | |
9 | |
10 #include "base/process/process.h" | |
11 #include "base/strings/string16.h" | |
12 | |
13 #include "third_party/kasko/kasko_features.h" | |
14 | |
15 #if BUILDFLAG(ENABLE_KASKO) | |
16 | |
17 // Initialize a Kasko reporter. | |
18 bool InitializeKaskoReporter(const base::string16& endpoint, | |
19 const base::char16* browser_data_directory); | |
20 | |
21 // Shut down a Kasko reporter. | |
22 void ShutdownKaskoReporter(); | |
23 | |
24 // Dumps a process, setting crash keys that indicate a hang. | |
25 void DumpHungProcess(DWORD main_thread_id, const base::string16 &channel, | |
26 const base::char16* key, const base::Process& process); | |
Sigurður Ásgeirsson
2016/04/05 13:52:29
the "key" parameter needs a little bit of 'splaini
manzagop (departed)
2016/04/06 19:36:03
Done.
| |
27 | |
28 #endif // BUILDFLAG(ENABLE_KASKO) | |
29 | |
30 #endif // CHROME_CHROME_WATCHER_KASKO_UTIL_H_ | |
OLD | NEW |