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

Unified Diff: gin/modules/module_runner_delegate.h

Issue 401723002: Mojo: Log an error when we fail to find a JS module. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months 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
Index: gin/modules/module_runner_delegate.h
diff --git a/gin/modules/module_runner_delegate.h b/gin/modules/module_runner_delegate.h
index 09d4582dd76684ac420619104e6426f7de25203c..a2d73ae5a5510f64e041d6d3c88d9e40044e5ef5 100644
--- a/gin/modules/module_runner_delegate.h
+++ b/gin/modules/module_runner_delegate.h
@@ -40,8 +40,12 @@ class GIN_EXPORT ModuleRunnerDelegate : public ShellRunnerDelegate {
virtual void DidCreateContext(ShellRunner* runner) OVERRIDE;
virtual void DidRunScript(ShellRunner* runner) OVERRIDE;
+ // Callback for when module_provider_ finishes reading from disk.
+ void DidLoadFileModules(const std::set<std::string>& loaded_modules);
+
BuiltinModuleMap builtin_modules_;
FileModuleProvider module_provider_;
+ std::set<std::string> unsatisfied_dependencies_;
DISALLOW_COPY_AND_ASSIGN(ModuleRunnerDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698