Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Side by Side Diff: chrome/browser/chrome_child_process_watcher.h

Issue 1067733006: Add extra parameter to BrowserChildProcessCrashed to pass the exit_code at time of crash/termination (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mac compile fix Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698