Index: gin/modules/module_runner_delegate.h |
diff --git a/gin/modules/module_runner_delegate.h b/gin/modules/module_runner_delegate.h |
index 3ce056f250a98be8fd438047ad2b5b2332058946..30d522498da2c2c3b58cae0a5dab81c102e4281c 100644 |
--- a/gin/modules/module_runner_delegate.h |
+++ b/gin/modules/module_runner_delegate.h |
@@ -8,9 +8,9 @@ |
#include <map> |
#include "base/compiler_specific.h" |
+#include "gin/default_runner.h" |
#include "gin/gin_export.h" |
#include "gin/modules/file_module_provider.h" |
-#include "gin/runner.h" |
namespace gin { |
@@ -19,7 +19,7 @@ typedef v8::Local<v8::Value> (*ModuleGetter)(v8::Isolate* isolate); |
// Emebedders that use AMD modules will probably want to use a RunnerDelegate |
// that inherits from ModuleRunnerDelegate. ModuleRunnerDelegate lets embedders |
// register built-in modules and routes module requests to FileModuleProvider. |
-class GIN_EXPORT ModuleRunnerDelegate : public RunnerDelegate { |
+class GIN_EXPORT ModuleRunnerDelegate : public DefaultRunnerDelegate { |
public: |
explicit ModuleRunnerDelegate( |
const std::vector<base::FilePath>& search_paths); |
@@ -35,9 +35,10 @@ class GIN_EXPORT ModuleRunnerDelegate : public RunnerDelegate { |
// From RunnerDelegate: |
abarth-chromium
2014/02/26 06:08:44
This comment is out of date
|
virtual v8::Handle<v8::ObjectTemplate> GetGlobalTemplate( |
- Runner* runner) OVERRIDE; |
- virtual void DidCreateContext(Runner* runner) OVERRIDE; |
- virtual void DidRunScript(Runner* runner) OVERRIDE; |
+ DefaultRunner* runner, |
+ v8::Isolate* isolate) OVERRIDE; |
+ virtual void DidCreateContext(DefaultRunner* runner) OVERRIDE; |
+ virtual void DidRunScript(DefaultRunner* runner) OVERRIDE; |
BuiltinModuleMap builtin_modules_; |
FileModuleProvider module_provider_; |