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

Unified Diff: chrome/browser/extensions/extension_tab_helper.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/extensions/extension_service.cc ('k') | chrome/browser/extensions/extension_tab_id_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_tab_helper.cc
===================================================================
--- chrome/browser/extensions/extension_tab_helper.cc (revision 110571)
+++ chrome/browser/extensions/extension_tab_helper.cc (working copy)
@@ -169,7 +169,7 @@
Profile::FromBrowserContext(tab_contents()->browser_context());
ExtensionService* extension_service = profile->GetExtensionService();
extensions::ProcessMap* process_map = extension_service->process_map();
- RenderProcessHost* process =
+ content::RenderProcessHost* process =
tab_contents_wrapper()->render_view_host()->process();
const Extension* extension =
extension_service->GetInstalledApp(requestor_url);
@@ -177,7 +177,7 @@
extension &&
extension->HasAPIPermission(
ExtensionAPIPermission::kExperimental) &&
- process_map->Contains(extension->id(), process->id());
+ process_map->Contains(extension->id(), process->GetID());
if (!allowed) {
AppNotifyChannelSetupComplete("", "permission_error", return_route_id,
callback_id);
« no previous file with comments | « chrome/browser/extensions/extension_service.cc ('k') | chrome/browser/extensions/extension_tab_id_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698