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

Side by Side Diff: chrome/chrome_watcher/kasko_util.h

Issue 2086403002: Remove the Kasko based out of process browser hang instrumentation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge Created 4 years, 5 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
« no previous file with comments | « chrome/chrome_watcher/chrome_watcher_main.cc ('k') | chrome/chrome_watcher/kasko_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 // Initialize a Kasko reporter.
14 bool InitializeKaskoReporter(const base::string16& endpoint,
15 const base::char16* browser_data_directory);
16
17 // Shut down a Kasko reporter.
18 void ShutdownKaskoReporter();
19
20 // Ensure that a process is a valid target for report capture. This is to
21 // defend against against races that exist in getting a Process from a window
22 // name (potential HWND and process id recycling).
23 bool EnsureTargetProcessValidForCapture(const base::Process& process);
24
25 // Dumps a process. A crash key will be added to the report, labelling it as a
26 // hang report.
27 void DumpHungProcess(DWORD main_thread_id, const base::string16& channel,
28 const base::char16* hang_type,
29 const base::Process& process);
30
31 #endif // CHROME_CHROME_WATCHER_KASKO_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/chrome_watcher/chrome_watcher_main.cc ('k') | chrome/chrome_watcher/kasko_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698