Chromium Code Reviews| Index: include/v8.h |
| diff --git a/include/v8.h b/include/v8.h |
| index d4b664a5495a2481f3db61274be6ef6948889371..c46ed4ed1504eaad8cb1f38f8f26a9d1f46e317b 100644 |
| --- a/include/v8.h |
| +++ b/include/v8.h |
| @@ -6372,6 +6372,13 @@ class V8_EXPORT Context { |
| V8_INLINE Local<Value> GetEmbedderData(int index); |
| /** |
| + * Gets the exports object used by V8 extras. Extra natives get a reference |
| + * to this object and can use it to export functionality. |
| + * If there are no extra native scripts, return an emtpy handle. |
|
domenic
2015/05/19 15:38:10
Is this line still accurate?
|
| + */ |
| + Local<Object> GetExtrasExportsObject(); |
| + |
| + /** |
| * Sets the embedder data with the given index, growing the data as |
| * needed. Note that index 0 currently has a special meaning for Chrome's |
| * debugger. |