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

Unified Diff: content/browser/plugin_content_origin_whitelist.cc

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
« no previous file with comments | « content/browser/plugin_content_origin_whitelist.h ('k') | content/common/frame_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/plugin_content_origin_whitelist.cc
diff --git a/content/browser/plugin_content_origin_whitelist.cc b/content/browser/plugin_content_origin_whitelist.cc
index d10e703f1170a58f0c566dd261246e5b64f208c3..c492fe8f9342eb2675d48b372ad2732537d69615 100644
--- a/content/browser/plugin_content_origin_whitelist.cc
+++ b/content/browser/plugin_content_origin_whitelist.cc
@@ -50,7 +50,7 @@ void PluginContentOriginWhitelist::DidNavigateMainFrame(
}
void PluginContentOriginWhitelist::OnPluginContentOriginAllowed(
- const GURL& content_origin) {
+ const url::Origin& content_origin) {
whitelist_.insert(content_origin);
web_contents()->SendToAllFrames(
« no previous file with comments | « content/browser/plugin_content_origin_whitelist.h ('k') | content/common/frame_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698