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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/browser_globals.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: ppapi/native_client/src/shared/ppapi_proxy/browser_globals.h
===================================================================
--- ppapi/native_client/src/shared/ppapi_proxy/browser_globals.h (revision 105971)
+++ ppapi/native_client/src/shared/ppapi_proxy/browser_globals.h (working copy)
@@ -43,7 +43,7 @@
namespace ppapi_proxy {
// These functions handle the browser-side (trusted code) mapping of a browser
-// Instance to instance-specific data, such as the SRPC communication channel.
+// instance to instance-specific data, such as the SRPC communication channel.
// These functions are called by the in-browser (trusted) plugin code, and are
// always called from the main (foreground, UI, ...) thread. As such, they are
// not thread-safe (they do not need to be).
@@ -52,11 +52,6 @@
// channel used to talk to the instance.
class BrowserPpp;
-// Returns true if the PPAPI Developer interfaces are enabled.
-// To enable, set the environment variable NACL_ENABLE_PPAPI_DEV=1
-// Note: Developer interfaces are _not_ enabled by default.
-bool AreDevInterfacesEnabled();
-
// Associate a particular BrowserPpp with a PP_Instance value. This allows the
// browser side to look up information it needs to communicate with the stub.
void SetBrowserPppForInstance(PP_Instance instance,
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698