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 "base/basictypes.h" |
| 9 #include "content/public/browser/browser_child_process_observer.h" |
| 10 |
| 11 // ChromeChildProcessWatcher watches for crashed child processes. |
| 12 class ChromeChildProcessWatcher : public content::BrowserChildProcessObserver { |
| 13 public: |
| 14 ChromeChildProcessWatcher(); |
| 15 ~ChromeChildProcessWatcher() override; |
| 16 |
| 17 private: |
| 18 // content::BrowserChildProcessObserver: |
| 19 void BrowserChildProcessCrashed(const content::ChildProcessData& data, |
| 20 int exit_code) override; |
| 21 |
| 22 DISALLOW_COPY_AND_ASSIGN(ChromeChildProcessWatcher); |
| 23 }; |
| 24 |
| 25 #endif // CHROME_BROWSER_CHROME_CHILD_PROCESS_WATCHER_H_ |
OLD | NEW |