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

Unified Diff: chrome/browser/renderer_host/render_view_host.h

Issue 2967007: Disable outdated plugins, block non-sandboxed plugins. (Closed)
Patch Set: '' Created 10 years, 5 months 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/renderer_host/render_view_host.h
diff --git a/chrome/browser/renderer_host/render_view_host.h b/chrome/browser/renderer_host/render_view_host.h
index 02a216d47677e1ee5fff4932f672e74dee1736b3..c32b6687a34afb0faacd86aefb4944b7eb09de2a 100644
--- a/chrome/browser/renderer_host/render_view_host.h
+++ b/chrome/browser/renderer_host/render_view_host.h
@@ -344,6 +344,9 @@ class RenderViewHost : public RenderWidgetHost {
// missing plugin. Called by PluginInstaller.
void InstallMissingPlugin();
+ // Load all blocked plugins in the RenderView.
+ void LoadBlockedPlugins();
+
// Get all savable resource links from current webpage, include main
// frame and sub-frame.
void GetAllSavableResourceLinksForCurrentPage(const GURL& page_url);
@@ -593,7 +596,10 @@ class RenderViewHost : public RenderWidgetHost {
void OnUserMetricsRecordAction(const std::string& action);
void OnMissingPluginStatus(int status);
+ void OnNonSandboxedPluginBlocked(const string16& name);
+ void OnBlockedPluginLoaded();
void OnCrashedPlugin(const FilePath& plugin_path);
+ void OnDisabledOutdatedPlugin(const string16& name, const GURL& update_url);
void OnReceivedSavableResourceLinksForCurrentPage(
const std::vector<GURL>& resources_list,
« no previous file with comments | « chrome/browser/renderer_host/browser_render_process_host.cc ('k') | chrome/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698