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

Unified Diff: chrome/browser/extensions/extension_function_dispatcher.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_function.cc ('k') | chrome/browser/extensions/extension_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_function_dispatcher.cc
===================================================================
--- chrome/browser/extensions/extension_function_dispatcher.cc (revision 110571)
+++ chrome/browser/extensions/extension_function_dispatcher.cc (working copy)
@@ -581,7 +581,7 @@
// we will search the incognito version only, regardless of the value of
// |include_incognito|.
Profile* profile = Profile::FromBrowserContext(
- render_view_host->process()->browser_context());
+ render_view_host->process()->GetBrowserContext());
browser = BrowserList::FindTabbedBrowser(profile, include_incognito);
// NOTE(rafaelw): This can return NULL in some circumstances. In particular,
@@ -608,7 +608,7 @@
scoped_refptr<ExtensionFunction> function(
CreateExtensionFunction(params, extension,
- render_view_host->process()->id(),
+ render_view_host->process()->GetID(),
*(service->process_map()),
profile(), render_view_host,
render_view_host->routing_id()));
« no previous file with comments | « chrome/browser/extensions/extension_function.cc ('k') | chrome/browser/extensions/extension_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698