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

Unified Diff: content/browser/debugger/render_view_devtools_agent_host.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/debugger/render_view_devtools_agent_host.cc
===================================================================
--- content/browser/debugger/render_view_devtools_agent_host.cc (revision 110571)
+++ content/browser/debugger/render_view_devtools_agent_host.cc (working copy)
@@ -8,7 +8,7 @@
#include "base/lazy_instance.h"
#include "content/browser/debugger/devtools_manager.h"
#include "content/browser/debugger/render_view_devtools_agent_host.h"
-#include "content/browser/renderer_host/render_process_host.h"
+#include "content/browser/renderer_host/render_process_host_impl.h"
#include "content/browser/renderer_host/render_view_host.h"
#include "content/browser/site_instance.h"
#include "content/browser/tab_contents/tab_contents.h"
@@ -64,12 +64,13 @@
content::NotificationService::current()->Notify(
content::NOTIFICATION_DEVTOOLS_WINDOW_CLOSING,
content::Source<content::BrowserContext>(
- render_view_host_->site_instance()->GetProcess()->browser_context()),
+ render_view_host_->site_instance()->GetProcess()->
+ GetBrowserContext()),
content::Details<RenderViewHost>(render_view_host_));
}
int RenderViewDevToolsAgentHost::GetRenderProcessId() {
- return render_view_host_->process()->id();
+ return render_view_host_->process()->GetID();
}
RenderViewDevToolsAgentHost::~RenderViewDevToolsAgentHost() {
« no previous file with comments | « content/browser/child_process_security_policy_browsertest.cc ('k') | content/browser/download/download_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698