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

Unified Diff: chrome/browser/guestview/webview/plugin_permission_helper.cc

Issue 104833006: Switch ContentSettingsObserver to be a RenderFrameObserver instead of a RenderViewObserver (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 7 years 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/guestview/webview/plugin_permission_helper.cc
===================================================================
--- chrome/browser/guestview/webview/plugin_permission_helper.cc (revision 241294)
+++ chrome/browser/guestview/webview/plugin_permission_helper.cc (working copy)
@@ -102,10 +102,7 @@
bool allow,
const std::string& input) {
if (allow) {
- RenderViewHost* host = web_contents()->GetRenderViewHost();
ChromePluginServiceFilter::GetInstance()->AuthorizeAllPlugins(
- host->GetProcess()->GetID());
- host->Send(new ChromeViewMsg_LoadBlockedPlugins(
- host->GetRoutingID(), identifier));
+ web_contents(), true, identifier);
}
}

Powered by Google App Engine
This is Rietveld 408576698