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

Unified Diff: content/renderer/pepper/plugin_instance_throttler_impl.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/renderer/pepper/plugin_instance_throttler_impl.h
diff --git a/content/renderer/pepper/plugin_instance_throttler_impl.h b/content/renderer/pepper/plugin_instance_throttler_impl.h
index 30e90fe88d6ba2710d76fffc7e43177347258991..abecf5db21e9b524806705d054433851f5500324 100644
--- a/content/renderer/pepper/plugin_instance_throttler_impl.h
+++ b/content/renderer/pepper/plugin_instance_throttler_impl.h
@@ -21,6 +21,10 @@ class WebInputEvent;
struct WebRect;
}
+namespace url {
+class Origin;
+}
+
namespace content {
class PepperWebPluginImpl;
@@ -55,7 +59,7 @@ class CONTENT_EXPORT PluginInstanceThrottlerImpl
}
void Initialize(RenderFrameImpl* frame,
- const GURL& content_origin,
+ const url::Origin& content_origin,
const std::string& plugin_module_name,
const gfx::Size& unobscured_size);

Powered by Google App Engine
This is Rietveld 408576698