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

Unified Diff: content/browser/plugin_content_origin_whitelist.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/browser/plugin_content_origin_whitelist.h
diff --git a/content/browser/plugin_content_origin_whitelist.h b/content/browser/plugin_content_origin_whitelist.h
index 25311d242eb669d8b101f87d5851037a8ff96f21..beaab513c3d892197cbe77ee4592ba2962034bd0 100644
--- a/content/browser/plugin_content_origin_whitelist.h
+++ b/content/browser/plugin_content_origin_whitelist.h
@@ -8,7 +8,7 @@
#include <set>
#include "content/public/browser/web_contents_observer.h"
-#include "url/gurl.h"
+#include "url/origin.h"
namespace content {
@@ -39,9 +39,9 @@ class PluginContentOriginWhitelist : public WebContentsObserver {
const LoadCommittedDetails& details,
const FrameNavigateParams& params) override;
- void OnPluginContentOriginAllowed(const GURL& content_origin);
+ void OnPluginContentOriginAllowed(const url::Origin& content_origin);
- std::set<GURL> whitelist_;
+ std::set<url::Origin> whitelist_;
DISALLOW_COPY_AND_ASSIGN(PluginContentOriginWhitelist);
};
« no previous file with comments | « components/plugins/renderer/loadable_plugin_placeholder.cc ('k') | content/browser/plugin_content_origin_whitelist.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698