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

Unified Diff: webkit/plugins/npapi/plugin_group.h

Issue 6350010: Put some plug-ins behind an infobar, where they have:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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: webkit/plugins/npapi/plugin_group.h
===================================================================
--- webkit/plugins/npapi/plugin_group.h (revision 72249)
+++ webkit/plugins/npapi/plugin_group.h (working copy)
@@ -79,6 +79,14 @@
// enabled.
static const char* kAdobeReaderGroupName;
static const char* kAdobeReaderUpdateURL;
+ // Some plug-ins, by default, need user authorization. These plug-ins have:
+ // - A relatively large install base (>= 25%)
+ // - A relatively low usage rate (~10% and below)
+ // - Been targetted successfully by malware authors
+ static const char* kJavaGroupName;
+ static const char* kIcedTeaGroupName;
+ static const char* kQuickTimeGroupName;
+ static const char* kShockwaveGroupName;
PluginGroup(const PluginGroup& other);
@@ -138,6 +146,10 @@
// security problems.
bool IsVulnerable() const;
+ // Returns true if this plug-in group always requires user authorization
+ // to run.
+ bool RequiresAuthorization() const;
+
// Disables all plugins in this group that are older than the
// minimum version.
void DisableOutdatedPlugins();

Powered by Google App Engine
This is Rietveld 408576698