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

Unified Diff: chrome/renderer/chrome_content_renderer_client.h

Issue 9368046: Allow NaCl for non web store apps if their top level URL is whitelisted. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 10 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: chrome/renderer/chrome_content_renderer_client.h
===================================================================
--- chrome/renderer/chrome_content_renderer_client.h (revision 121325)
+++ chrome/renderer/chrome_content_renderer_client.h (working copy)
@@ -145,7 +145,8 @@
// Returns true if the NaCl plugin can be created. If it returns true, as a
// side effect, it may add special attributes to params.
- bool IsNaClAllowed(const webkit::WebPluginInfo& plugin,
+ bool IsNaClAllowed(WebKit::WebFrame* frame,
+ const webkit::WebPluginInfo& plugin,
const GURL& url,
const std::string& actual_mime_type,
bool is_nacl_mime_type,
« no previous file with comments | « no previous file | chrome/renderer/chrome_content_renderer_client.cc » ('j') | chrome/renderer/chrome_content_renderer_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698