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

Unified Diff: chrome/renderer/chrome_content_renderer_client.h

Issue 8301006: Packaged (CRX) extensions shouldn't be able to get 'dev' interfaces in NaCl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 105583)
+++ chrome/renderer/chrome_content_renderer_client.h (working copy)
@@ -120,6 +120,14 @@
const GURL& new_url,
bool is_initial_navigation);
+ // 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,
+ const GURL& url,
+ const std::string& actual_mime_type,
+ bool enable_nacl,
+ WebKit::WebPluginParams& params);
+
scoped_ptr<ChromeRenderProcessObserver> chrome_observer_;
scoped_ptr<ExtensionDispatcher> extension_dispatcher_;
scoped_ptr<RendererHistogramSnapshots> histogram_snapshots_;
« 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