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

Unified Diff: content/browser/tab_contents/render_view_host_manager.cc

Issue 8515027: Define the public version of the browser side RenderProcessHost interface. This interface is not ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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/tab_contents/render_view_host_manager.cc
===================================================================
--- content/browser/tab_contents/render_view_host_manager.cc (revision 110571)
+++ content/browser/tab_contents/render_view_host_manager.cc (working copy)
@@ -167,7 +167,7 @@
// CrossSiteResourceHandler will already be cleaned up.)
ViewMsg_SwapOut_Params params;
params.new_render_process_host_id =
- pending_render_view_host_->process()->id();
+ pending_render_view_host_->process()->GetID();
params.new_request_id = pending_request_id;
current_host()->process()->CrossSiteSwapOutACK(params);
}
@@ -194,7 +194,7 @@
// then we still need to swap out the old RVH first and run its unload
// handler. OK for that to happen in the background.
if (pending_render_view_host_->GetPendingRequestId() == -1) {
- OnCrossSiteResponse(pending_render_view_host_->process()->id(),
+ OnCrossSiteResponse(pending_render_view_host_->process()->GetID(),
pending_render_view_host_->routing_id());
}
@@ -231,7 +231,7 @@
}
void RenderViewHostManager::RendererProcessClosing(
- RenderProcessHost* render_process_host) {
+ content::RenderProcessHost* render_process_host) {
// Remove any swapped out RVHs from this process, so that we don't try to
// swap them back in while the process is exiting. Start by finding them,
// since there could be more than one.
@@ -320,7 +320,8 @@
const content::NotificationDetails& details) {
switch (type) {
case content::NOTIFICATION_RENDERER_PROCESS_CLOSING:
- RendererProcessClosing(content::Source<RenderProcessHost>(source).ptr());
+ RendererProcessClosing(
+ content::Source<content::RenderProcessHost>(source).ptr());
break;
default:
« no previous file with comments | « content/browser/tab_contents/render_view_host_manager.h ('k') | content/browser/tab_contents/tab_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698