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

Unified Diff: content/browser/pepper_helper.cc

Issue 11360052: Add a 'NACL' plugin type to PepperMessageFilter so we can block private APIs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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 | « no previous file | content/browser/renderer_host/pepper/pepper_message_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/pepper_helper.cc
===================================================================
--- content/browser/pepper_helper.cc (revision 165369)
+++ content/browser/pepper_helper.cc (working copy)
@@ -13,7 +13,7 @@
void EnablePepperSupportForChannel(IPC::ChannelProxy* channel,
piman 2012/11/01 23:34:41 nit: I never realized this was for NaCl only. Shou
bbudge 2012/11/01 23:49:44 See comment.
net::HostResolver* host_resolver) {
channel->AddFilter(
- new PepperMessageFilter(PepperMessageFilter::PLUGIN, host_resolver));
+ new PepperMessageFilter(PepperMessageFilter::NACL, host_resolver));
}
} // namespace content
« no previous file with comments | « no previous file | content/browser/renderer_host/pepper/pepper_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698