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

Side by Side 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: Addressed comments. 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 unified diff | Download patch | Annotate | Revision Log
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 // Represents the browser side of the browser <--> renderer communication 5 // Represents the browser side of the browser <--> renderer communication
6 // channel. There will be one RenderProcessHost per renderer process. 6 // channel. There will be one RenderProcessHost per renderer process.
7 7
8 #include "content/browser/renderer_host/render_process_host_impl.h" 8 #include "content/browser/renderer_host/render_process_host_impl.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 cmd_line->AppendSwitchASCII(switches::kProcessChannelID, channel_id); 506 cmd_line->AppendSwitchASCII(switches::kProcessChannelID, channel_id);
507 507
508 // Spawn the child process asynchronously to avoid blocking the UI thread. 508 // Spawn the child process asynchronously to avoid blocking the UI thread.
509 // As long as there's no renderer prefix, we can use the zygote process 509 // As long as there's no renderer prefix, we can use the zygote process
510 // at this stage. 510 // at this stage.
511 child_process_launcher_.reset(new ChildProcessLauncher( 511 child_process_launcher_.reset(new ChildProcessLauncher(
512 #if defined(OS_WIN) 512 #if defined(OS_WIN)
513 FilePath(), 513 FilePath(),
514 #elif defined(OS_POSIX) 514 #elif defined(OS_POSIX)
515 renderer_prefix.empty(), 515 renderer_prefix.empty(),
516 GetID(),
516 base::EnvironmentVector(), 517 base::EnvironmentVector(),
517 channel_->TakeClientFileDescriptor(), 518 channel_->TakeClientFileDescriptor(),
518 #endif 519 #endif
519 cmd_line, 520 cmd_line,
520 this)); 521 this));
521 522
522 fast_shutdown_started_ = false; 523 fast_shutdown_started_ = false;
523 } 524 }
524 525
525 is_initialized_ = true; 526 is_initialized_ = true;
(...skipping 1060 matching lines...) Expand 10 before | Expand all | Expand 10 after
1586 const gfx::Size& size, 1587 const gfx::Size& size,
1587 int32 gpu_process_host_id) { 1588 int32 gpu_process_host_id) {
1588 TRACE_EVENT0("renderer_host", 1589 TRACE_EVENT0("renderer_host",
1589 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); 1590 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost");
1590 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, 1591 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id,
1591 gpu_process_host_id, 1592 gpu_process_host_id,
1592 0); 1593 0);
1593 } 1594 }
1594 1595
1595 } // namespace content 1596 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698