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

Unified Diff: src/shared/ppapi_proxy/plugin_globals.h

Issue 3391010: Update the PPAPI DEPS revision. This change included parameter profile chang... (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 10 years, 3 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
« no previous file with comments | « src/shared/ppapi_proxy/object_serialize.cc ('k') | src/shared/ppapi_proxy/plugin_globals.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/shared/ppapi_proxy/plugin_globals.h
===================================================================
--- src/shared/ppapi_proxy/plugin_globals.h (revision 3312)
+++ src/shared/ppapi_proxy/plugin_globals.h (working copy)
@@ -5,6 +5,7 @@
#ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_GLOBALS_H_
#define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_GLOBALS_H_
+#include "ppapi/c/pp_module.h"
#include "ppapi/c/ppb.h"
#include "ppapi/c/ppb_core.h"
#include "ppapi/c/ppb_var.h"
@@ -22,6 +23,13 @@
NaClSrpcChannel* GetUpcallSrpcChannel();
void SetUpcallSrpcChannel(NaClSrpcChannel* channel);
+// Save the plugin's module_id, which is used for storage allocation tracking.
+void SetModuleIdForSrpcChannel(NaClSrpcChannel* channel, PP_Module module_id);
+// Forget the plugin's module_id.
+void UnsetModuleIdForSrpcChannel(NaClSrpcChannel* channel);
+// Save the plugin's module_id.
+PP_Module LookupModuleIdForSrpcChannel(NaClSrpcChannel* channel);
+
// Get the PPB_Core interface passed in from the browser.
const PPB_Core* CoreInterface();
« no previous file with comments | « src/shared/ppapi_proxy/object_serialize.cc ('k') | src/shared/ppapi_proxy/plugin_globals.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698