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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 11189068: Changing minidump process generation to be in-process on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Improved patch description. Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index 329140c928080693e310fa9aafbe4c5cb3fe1695..546c717a7b14c35e50b013ae7cf9778975494724 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -495,7 +495,8 @@ bool RenderProcessHostImpl::Init() {
#endif
in_process_renderer_->StartWithOptions(options);
- OnProcessLaunched(); // Fake a callback that the process is ready.
+ // Fake a callback that the process is ready.
+ OnProcessLaunched(content::FDInfoList());
} else {
// Build command line for renderer. We call AppendRendererCommandLine()
// first so the process type argument will appear first.
@@ -1535,7 +1536,8 @@ void RenderProcessHostImpl::SetBackgrounded(bool backgrounded) {
child_process_launcher_->SetProcessBackgrounded(backgrounded);
}
-void RenderProcessHostImpl::OnProcessLaunched() {
+void RenderProcessHostImpl::OnProcessLaunched(
+ const content::FDInfoList& mapped_files) {
// No point doing anything, since this object will be destructed soon. We
// especially don't want to send the RENDERER_PROCESS_CREATED notification,
// since some clients might expect a RENDERER_PROCESS_TERMINATED afterwards to
@@ -1562,7 +1564,7 @@ void RenderProcessHostImpl::OnProcessLaunched() {
NotificationService::current()->Notify(
NOTIFICATION_RENDERER_PROCESS_CREATED,
Source<RenderProcessHost>(this),
- NotificationService::NoDetails());
+ Details<const content::FDInfoList>(&mapped_files));
jam 2012/10/19 16:39:17 this seems awkward for two reasons: -it adds seemi
Jay Civelli 2012/10/22 22:09:48 Changed per our discussion. Now using the process
while (!queued_messages_.empty()) {
Send(queued_messages_.front());

Powered by Google App Engine
This is Rietveld 408576698