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

Unified Diff: chrome/browser/extensions/extension_webrequest_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_webrequest_api.cc
===================================================================
--- chrome/browser/extensions/extension_webrequest_api.cc (revision 110303)
+++ chrome/browser/extensions/extension_webrequest_api.cc (working copy)
@@ -293,7 +293,7 @@
for (RenderProcessHost::iterator it = RenderProcessHost::AllHostsIterator();
!it.IsAtEnd(); it.Advance()) {
RenderProcessHost* host = it.GetCurrentValue();
- if (host->browser_context() == browser_context)
+ if (host->GetBrowserContext() == browser_context)
SendExtensionWebRequestStatusToHost(host);
}
}
@@ -1630,7 +1630,7 @@
}
void SendExtensionWebRequestStatusToHost(RenderProcessHost* host) {
- Profile* profile = Profile::FromBrowserContext(host->browser_context());
+ Profile* profile = Profile::FromBrowserContext(host->GetBrowserContext());
if (!profile || !profile->GetExtensionService())
return;

Powered by Google App Engine
This is Rietveld 408576698