Chromium Code Reviews| Index: Source/bindings/core/v8/V8ScriptRunner.h |
| diff --git a/Source/bindings/core/v8/V8ScriptRunner.h b/Source/bindings/core/v8/V8ScriptRunner.h |
| index 72d061edeec82c0ffe63eac27c6a7d83b8d9eeef..732a3caa6838d02579fd6277e74cda96e2c15745 100644 |
| --- a/Source/bindings/core/v8/V8ScriptRunner.h |
| +++ b/Source/bindings/core/v8/V8ScriptRunner.h |
| @@ -40,13 +40,14 @@ class ScriptResource; |
| class ScriptSourceCode; |
| class ExecutionContext; |
| class ScriptStreamer; |
| +class CachedMetadataHandler; |
| class V8ScriptRunner { |
| public: |
| // For the following methods, the caller sites have to hold |
| // a HandleScope and a ContextScope. |
| static v8::Local<v8::Script> compileScript(const ScriptSourceCode&, v8::Isolate*, AccessControlStatus = SharableCrossOrigin, V8CacheOptions = V8CacheOptionsDefault); |
| - static v8::Local<v8::Script> compileScript(v8::Handle<v8::String>, const String& fileName, const TextPosition&, ScriptResource*, ScriptStreamer*, v8::Isolate*, AccessControlStatus = SharableCrossOrigin, V8CacheOptions = V8CacheOptionsDefault, bool isInternalScript = false); |
| + static v8::Local<v8::Script> compileScript(v8::Handle<v8::String>, const String& fileName, const TextPosition&, ScriptResource*, ScriptStreamer*, CachedMetadataHandler*, v8::Isolate*, AccessControlStatus = SharableCrossOrigin, V8CacheOptions = V8CacheOptionsDefault, bool isInternalScript = false); |
|
vivekg
2015/02/16 08:36:49
nit: As most of the call sites of compileScript ar
horo
2015/02/16 08:57:44
Sounds good!
Done.
|
| static v8::Local<v8::Value> runCompiledScript(v8::Isolate*, v8::Handle<v8::Script>, ExecutionContext*); |
| static v8::Local<v8::Value> compileAndRunInternalScript(v8::Handle<v8::String>, v8::Isolate*, const String& = String(), const TextPosition& = TextPosition()); |
| static v8::Local<v8::Value> runCompiledInternalScript(v8::Isolate*, v8::Handle<v8::Script>); |