blob: c8f9fdca4f9798748dee577ab1738cdbbe4294f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_CHROME_CHILD_PROCESS_WATCHER_H_
#define CHROME_BROWSER_CHROME_CHILD_PROCESS_WATCHER_H_
#include "base/basictypes.h"
#include "content/public/browser/browser_child_process_observer.h"
// ChromeChildProcessWatcher watches for crashed child processes.
class ChromeChildProcessWatcher : public content::BrowserChildProcessObserver {
public:
ChromeChildProcessWatcher();
~ChromeChildProcessWatcher() override;
private:
// content::BrowserChildProcessObserver:
void BrowserChildProcessCrashed(const content::ChildProcessData& data,
int exit_code) override;
DISALLOW_COPY_AND_ASSIGN(ChromeChildProcessWatcher);
};
#endif // CHROME_BROWSER_CHROME_CHILD_PROCESS_WATCHER_H_
|