1 // Copyright 2015 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.
5 #ifndef CHROME_BROWSER_CHROME_CHILD_PROCESS_WATCHER_H_
6 #define CHROME_BROWSER_CHROME_CHILD_PROCESS_WATCHER_H_
8 #include "base/basictypes.h"
9 #include "content/public/browser/browser_child_process_observer.h"
11 // ChromeChildProcessWatcher watches for crashed child processes.
12 class ChromeChildProcessWatcher
: public content::BrowserChildProcessObserver
{
14 ChromeChildProcessWatcher();
15 ~ChromeChildProcessWatcher() override
;
18 // content::BrowserChildProcessObserver:
19 void BrowserChildProcessCrashed(const content::ChildProcessData
& data
,
20 int exit_code
) override
;
22 DISALLOW_COPY_AND_ASSIGN(ChromeChildProcessWatcher
);
25 #endif // CHROME_BROWSER_CHROME_CHILD_PROCESS_WATCHER_H_