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); |