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

Unified Diff: webkit/plugins/ppapi/host_var_tracker.h

Issue 8930010: Implement in-process PPB_VarArrayBuffer_Dev. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 years 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 | « webkit/plugins/ppapi/host_array_buffer_var.cc ('k') | webkit/plugins/ppapi/host_var_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/host_var_tracker.h
diff --git a/webkit/plugins/ppapi/host_var_tracker.h b/webkit/plugins/ppapi/host_var_tracker.h
index a4344df075984302491e25c621ba3c0f1d01a0b5..fb743fc32a4300310b9da9cb433c16354472ed05 100644
--- a/webkit/plugins/ppapi/host_var_tracker.h
+++ b/webkit/plugins/ppapi/host_var_tracker.h
@@ -8,6 +8,7 @@
#include <map>
#include "base/basictypes.h"
+#include "base/compiler_specific.h"
#include "base/gtest_prod_util.h"
#include "base/hash_tables.h"
#include "base/memory/linked_ptr.h"
@@ -23,6 +24,7 @@
typedef struct NPObject NPObject;
namespace ppapi {
+class ArrayBufferVar;
class NPObjectVar;
class Var;
}
@@ -60,6 +62,10 @@ class HostVarTracker : public ::ppapi::VarTracker {
void ForceFreeNPObjectsForInstance(PP_Instance instance);
private:
+ // VarTracker implementation.
+ virtual ::ppapi::ArrayBufferVar* CreateArrayBuffer(
+ uint32 size_in_bytes) OVERRIDE;
+
typedef std::map<NPObject*, ::ppapi::NPObjectVar*> NPObjectToNPObjectVarMap;
// Lists all known NPObjects, first indexed by the corresponding instance,
« no previous file with comments | « webkit/plugins/ppapi/host_array_buffer_var.cc ('k') | webkit/plugins/ppapi/host_var_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698