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

Unified Diff: chrome/browser/extensions/extension_file_browser_private_api.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: chrome/browser/extensions/extension_file_browser_private_api.cc
===================================================================
--- chrome/browser/extensions/extension_file_browser_private_api.cc (revision 110571)
+++ chrome/browser/extensions/extension_file_browser_private_api.cc (working copy)
@@ -33,10 +33,10 @@
#include "chrome/common/extensions/file_browser_handler.h"
#include "chrome/common/pref_names.h"
#include "content/browser/child_process_security_policy.h"
-#include "content/browser/renderer_host/render_process_host.h"
#include "content/browser/renderer_host/render_view_host.h"
#include "content/browser/tab_contents/tab_contents.h"
#include "content/public/browser/browser_thread.h"
+#include "content/public/browser/render_process_host.h"
#include "googleurl/src/gurl.h"
#include "grit/generated_resources.h"
#include "grit/platform_locale_settings.h"
@@ -443,7 +443,7 @@
&RequestLocalFileSystemFunction::RequestOnFileThread,
this,
source_url_,
- render_view_host()->process()->id()));
+ render_view_host()->process()->GetID()));
// Will finish asynchronously.
return true;
}
@@ -722,9 +722,9 @@
SiteInstance* site_instance = manager->GetSiteInstanceForURL(extension_url);
if (!site_instance || !site_instance->HasProcess())
return;
- RenderProcessHost* process = site_instance->GetProcess();
+ content::RenderProcessHost* process = site_instance->GetProcess();
- target_process_id_ = process->id();
+ target_process_id_ = process->GetID();
}
// Checks legitimacy of file url and grants file RO access permissions from
@@ -882,7 +882,7 @@
new ExecuteTasksFileSystemCallbackDispatcher(
this,
profile(),
- render_view_host()->process()->id(),
+ render_view_host()->process()->GetID(),
source_url,
GetExtension(),
task_id,
« no previous file with comments | « chrome/browser/extensions/extension_event_router.cc ('k') | chrome/browser/extensions/extension_function.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698