Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index 0c2502cd8bf417889816a020e7e361c6e55775c3..da6f45a413f681810ce56d1648a7afabe00abed1 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -6,6 +6,7 @@ |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/extensions/extension_service.h" |
+#include "chrome/browser/renderer_host/browser_render_process_host.h" |
#include "content/browser/renderer_host/render_view_host.h" |
namespace chrome { |
@@ -19,6 +20,10 @@ void ChromeContentBrowserClient::OnRenderViewCreation( |
if (service) { |
bool is_extension_process = service->ExtensionBindingsAllowed(url); |
render_view_host->set_is_extension_process(is_extension_process); |
+ |
+ const Extension* installed_app = service->GetInstalledApp(url); |
+ static_cast<BrowserRenderProcessHost*>(render_view_host->process())-> |
Matt Perry
2011/03/15 00:40:56
this cast seems sketchy. Why not make SetInstalled
Charlie Reis
2011/03/15 06:23:42
John wants to remove all Extension references from
Matt Perry
2011/03/15 18:00:37
Ah sorry, I didn't realize RPH had moved to conten
|
+ set_installed_app(installed_app); |
} |
} |