Index: chrome/renderer/chrome_content_renderer_client.cc |
=================================================================== |
--- chrome/renderer/chrome_content_renderer_client.cc (revision 179429) |
+++ chrome/renderer/chrome_content_renderer_client.cc (working copy) |
@@ -673,10 +673,10 @@ |
// Temporarily allow these URLs to run NaCl apps. We should remove this |
// code when PNaCl ships. |
bool is_whitelisted_url = |
- ((top_url.SchemeIs("http") || top_url.SchemeIs("https")) && |
+ top_url.SchemeIs("https") && |
(top_url.host() == "plus.google.com" || |
top_url.host() == "plus.sandbox.google.com") && |
- top_url.path().find("/games") == 0); |
+ top_url.path().find("/games") == 0; |
// Allow Chrome Web Store extensions, built-in extensions, extensions |
// under development, invocations from whitelisted URLs, and all invocations |