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

Unified Diff: content/common/frame_messages.h

Issue 1341563002: Plugin Power Saver: Improve origin handling esp. with OOPIF. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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: content/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index 7a01df4c10ff38778bad7b3ce0017f234d82498e..b57e46aa6166ac617dcacfda1aed2de72d113adf 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -681,7 +681,7 @@ IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation,
#if defined(ENABLE_PLUGINS)
// Notifies the renderer of updates to the Plugin Power Saver origin whitelist.
IPC_MESSAGE_ROUTED1(FrameMsg_UpdatePluginContentOriginWhitelist,
- std::set<GURL> /* origin_whitelist */)
+ std::set<url::Origin> /* origin_whitelist */)
#endif // defined(ENABLE_PLUGINS)
// -----------------------------------------------------------------------------
@@ -907,7 +907,7 @@ IPC_SYNC_MESSAGE_CONTROL4_3(FrameHostMsg_GetPluginInfo,
// is specific to a top level frame, and is cleared when the whitelisting
// RenderFrame is destroyed.
IPC_MESSAGE_ROUTED1(FrameHostMsg_PluginContentOriginAllowed,
- GURL /* content_origin */)
+ url::Origin /* content_origin */)
// A renderer sends this to the browser process when it wants to
// create a plugin. The browser will create the plugin process if
« no previous file with comments | « content/browser/plugin_content_origin_whitelist.cc ('k') | content/public/renderer/plugin_instance_throttler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698