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

Unified Diff: third_party/WebKit/public/platform/Platform.h

Issue 2156803002: [HBD] Remove PluginCache and reload plugin list when origin changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment Created 4 years, 4 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
« no previous file with comments | « third_party/WebKit/Source/platform/plugins/PluginData.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/Platform.h
diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h
index 2ce65ea0583f69703e9ce0ad20ed4e688ee6b244..b08300f0ce605991cf1d92037620f2bddbc45ce6 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -328,9 +328,9 @@ public:
// Plugins -------------------------------------------------------------
// If refresh is true, then cached information should not be used to
- // satisfy this call.
- virtual void getPluginList(bool refresh, WebPluginListBuilder*) { }
-
+ // satisfy this call. mainFrameOrigin is used by the browser process to
+ // filter plugins from the plugin list based on content settings.
+ virtual void getPluginList(bool refresh, const WebSecurityOrigin& mainFrameOrigin, WebPluginListBuilder*) {}
// Public Suffix List --------------------------------------------------
« no previous file with comments | « third_party/WebKit/Source/platform/plugins/PluginData.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698