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

Side by Side Diff: chrome/browser/browser_process_impl.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: code review comments Created 5 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // When each service is created, we set a flag indicating this. At this point, 5 // When each service is created, we set a flag indicating this. At this point,
6 // the service initialization could fail or succeed. This allows us to remember 6 // the service initialization could fail or succeed. This allows us to remember
7 // if we tried to create a service, and not try creating it over and over if 7 // if we tried to create a service, and not try creating it over and over if
8 // the creation failed. 8 // the creation failed.
9 9
10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
11 #define CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 11 #define CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
12 12
13 #include <string> 13 #include <string>
14 14
15 #include "base/basictypes.h" 15 #include "base/basictypes.h"
16 #include "base/debug/stack_trace.h" 16 #include "base/debug/stack_trace.h"
17 #include "base/memory/ref_counted.h" 17 #include "base/memory/ref_counted.h"
18 #include "base/memory/scoped_ptr.h" 18 #include "base/memory/scoped_ptr.h"
19 #include "base/prefs/pref_change_registrar.h" 19 #include "base/prefs/pref_change_registrar.h"
20 #include "base/threading/non_thread_safe.h" 20 #include "base/threading/non_thread_safe.h"
21 #include "base/timer/timer.h" 21 #include "base/timer/timer.h"
22 #include "chrome/browser/browser_process.h" 22 #include "chrome/browser/browser_process.h"
23 23
24 class ChromeChildProcessWatcher;
24 class ChromeDeviceClient; 25 class ChromeDeviceClient;
25 class ChromeNetLog; 26 class ChromeNetLog;
26 class ChromeResourceDispatcherHostDelegate; 27 class ChromeResourceDispatcherHostDelegate;
27 class RemoteDebuggingServer; 28 class RemoteDebuggingServer;
28 class PrefRegistrySimple; 29 class PrefRegistrySimple;
29 class PromoResourceService; 30 class PromoResourceService;
30 31
31 #if defined(ENABLE_PLUGIN_INSTALLATION) 32 #if defined(ENABLE_PLUGIN_INSTALLATION)
32 class PluginsResourceService; 33 class PluginsResourceService;
33 #endif 34 #endif
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 295
295 #if defined(ENABLE_WEBRTC) 296 #if defined(ENABLE_WEBRTC)
296 // Lazily initialized. 297 // Lazily initialized.
297 scoped_ptr<WebRtcLogUploader> webrtc_log_uploader_; 298 scoped_ptr<WebRtcLogUploader> webrtc_log_uploader_;
298 #endif 299 #endif
299 300
300 scoped_ptr<network_time::NetworkTimeTracker> network_time_tracker_; 301 scoped_ptr<network_time::NetworkTimeTracker> network_time_tracker_;
301 302
302 scoped_ptr<gcm::GCMDriver> gcm_driver_; 303 scoped_ptr<gcm::GCMDriver> gcm_driver_;
303 304
305 scoped_ptr<ChromeChildProcessWatcher> child_process_watcher_;
306
304 #if !defined(OS_ANDROID) 307 #if !defined(OS_ANDROID)
305 scoped_ptr<ChromeDeviceClient> device_client_; 308 scoped_ptr<ChromeDeviceClient> device_client_;
306 #endif 309 #endif
307 310
308 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 311 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
309 }; 312 };
310 313
311 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 314 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698