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

Unified Diff: content/public/renderer/render_frame.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/public/renderer/render_frame.h
diff --git a/content/public/renderer/render_frame.h b/content/public/renderer/render_frame.h
index 6627363e0c0ad8abf334fa410b823d85f5800207..4bb763bbeb06fda3974c6d5a101b80ce8323db33 100644
--- a/content/public/renderer/render_frame.h
+++ b/content/public/renderer/render_frame.h
@@ -31,6 +31,10 @@ namespace gfx {
class Range;
}
+namespace url {
+class Origin;
+}
+
namespace v8 {
template <typename T> class Local;
class Context;
@@ -122,7 +126,7 @@ class CONTENT_EXPORT RenderFrame : public IPC::Listener,
// whitelist is later updated and includes |content_origin|, then
// |unthrottle_callback| will be called.
virtual void RegisterPeripheralPlugin(
- const GURL& content_origin,
+ const url::Origin& content_origin,
const base::Closure& unthrottle_callback) = 0;
#endif
« no previous file with comments | « content/public/renderer/plugin_instance_throttler.h ('k') | content/renderer/pepper/pepper_plugin_instance_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698