Index: content/browser/web_contents/web_contents_impl.h |
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h |
index 60fdc726a86e9005a816a5b400dbf8a380c3f9e7..17159deae7b7da00cbd8384c03626142454d6c0b 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -773,6 +773,8 @@ class CONTENT_EXPORT WebContentsImpl |
bool is_hung); |
void OnPluginCrashed(const base::FilePath& plugin_path, |
base::ProcessId plugin_pid); |
+ void OnPluginContentOriginAllowed(const GURL& content_origin); |
+ void OnPluginContentMarkedPeripheral(const GURL& content_origin); |
void OnDomOperationResponse(const std::string& json_string, |
int automation_id); |
void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); |
@@ -990,6 +992,11 @@ class CONTENT_EXPORT WebContentsImpl |
scoped_ptr<PowerSaveBlocker> audio_power_save_blocker_; |
scoped_ptr<PowerSaveBlocker> video_power_save_blocker_; |
+ // Plugin content origins that have been whitelisted or marked peripheral. |
+ typedef std::map<RenderFrameHost*, std::set<GURL> > PluginContentOriginMap; |
+ PluginContentOriginMap plugin_content_origin_whitelist_; |
+ PluginContentOriginMap plugin_content_marked_peripheral_; |
+ |
// Manages the frame tree of the page and process swaps in each node. |
FrameTree frame_tree_; |