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

Unified Diff: chrome/browser/chrome_plugin_message_filter.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
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/chrome_plugin_service_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_plugin_message_filter.cc
===================================================================
--- chrome/browser/chrome_plugin_message_filter.cc (revision 110571)
+++ chrome/browser/chrome_plugin_message_filter.cc (working copy)
@@ -13,10 +13,10 @@
#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
#include "chrome/common/chrome_plugin_messages.h"
#include "content/browser/plugin_process_host.h"
-#include "content/browser/renderer_host/render_process_host.h"
#include "content/browser/renderer_host/render_view_host.h"
#include "content/browser/renderer_host/render_view_host_delegate.h"
#include "content/public/browser/browser_thread.h"
+#include "content/public/browser/render_process_host.h"
#include "net/url_request/url_request_context_getter.h"
#include "webkit/plugins/npapi/default_plugin_shared.h"
@@ -71,7 +71,8 @@
const std::string& url,
gfx::NativeWindow caller_window,
int render_process_id) {
- RenderProcessHost* host = RenderProcessHost::FromID(render_process_id);
+ content::RenderProcessHost* host =
+ content::RenderProcessHost::FromID(render_process_id);
if (!host) {
return;
}
@@ -79,7 +80,7 @@
BrowserThread::FILE, FROM_HERE,
base::Bind(&ChromePluginMessageFilter::OnDownloadUrlOnFileThread,
url, caller_window,
- host->browser_context()->GetRequestContext()));
+ host->GetBrowserContext()->GetRequestContext()));
}
void ChromePluginMessageFilter::OnDownloadUrlOnFileThread(
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/chrome_plugin_service_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698