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

Unified Diff: src/api.h

Issue 435003: Patch for allowing several V8 instances in process:... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 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 | « src/allocation.cc ('k') | src/api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/api.h
===================================================================
--- src/api.h (revision 3427)
+++ src/api.h (working copy)
@@ -148,7 +148,24 @@
UNVISITED, VISITED, INSTALLED
};
+class RegisteredExtension;
+class internal::ApiData {
+ public:
+ StringInputBuffer write_input_buffer_;
+ // To distinguish the function templates, so that we can find them in the
+ // function cache of the global context.
+ int next_serial_number_;
+
+ EmbeddedVector<char, 128> buffer_;
+
+ ApiData()
+ :next_serial_number_(0) {
+ }
+
+ DISALLOW_COPY_AND_ASSIGN(ApiData);
+};
+
class RegisteredExtension {
public:
explicit RegisteredExtension(Extension* extension);
« no previous file with comments | « src/allocation.cc ('k') | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698