[Presentation API, Android] Implement basic messaging
[chromium-blink-merge.git] / chrome / browser / chrome_child_process_watcher.h
blobc8f9fdca4f9798748dee577ab1738cdbbe4294f9
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 {
13 public:
14 ChromeChildProcessWatcher();
15 ~ChromeChildProcessWatcher() override;
17 private:
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_