OLD | NEW |
---|---|
(Empty) | |
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. | |
4 | |
5 #ifndef CHROME_BROWSER_CHROME_CHILD_PROCESS_WATCHER_H_ | |
6 #define CHROME_BROWSER_CHROME_CHILD_PROCESS_WATCHER_H_ | |
7 | |
8 #include <set> | |
Lei Zhang
2015/04/27 21:47:35
nit: not used, most of the #includes and the Rende
Will Harris
2015/04/28 21:15:45
Done. These were accidental leftovers from a previ
| |
9 | |
10 #include "base/basictypes.h" | |
11 #include "content/public/browser/browser_child_process_observer.h" | |
12 #include "content/public/browser/notification_observer.h" | |
13 #include "content/public/browser/notification_registrar.h" | |
14 #include "content/public/browser/render_process_host_observer.h" | |
15 | |
16 namespace content { | |
17 class RenderProcessHost; | |
18 } | |
19 | |
20 // ChromeChildProcessWatcher watches for crashed child processes. | |
21 class ChromeChildProcessWatcher : public content::BrowserChildProcessObserver { | |
22 public: | |
23 ChromeChildProcessWatcher(); | |
24 ~ChromeChildProcessWatcher() override; | |
25 | |
26 private: | |
27 // content::BrowserChildProcessObserver: | |
28 void BrowserChildProcessCrashed(const content::ChildProcessData& data, | |
29 int exit_code) override; | |
30 | |
31 DISALLOW_COPY_AND_ASSIGN(ChromeChildProcessWatcher); | |
32 }; | |
33 | |
34 #endif // CHROME_BROWSER_CHROME_CHILD_PROCESS_WATCHER_H_ | |
OLD | NEW |