Index: chrome/renderer/module_system.h |
diff --git a/chrome/renderer/module_system.h b/chrome/renderer/module_system.h |
index 65b49d40dc7b0d7f9daf659450ec5ecb2e1666be..897121daa5349735ef2b1b7b055ab09e6175627d 100644 |
--- a/chrome/renderer/module_system.h |
+++ b/chrome/renderer/module_system.h |
@@ -58,6 +58,9 @@ class ModuleSystem : public NativeHandler { |
// Returns true if the current context has a ModuleSystem installed in it. |
static bool IsPresentInCurrentContext(); |
+ // Dumps the given exception message to LOG(ERROR). |
+ static void DumpException(v8::Handle<v8::Message> message); |
+ |
// Require the specified module. This is the equivalent of calling |
// require('module_name') from the loaded JS files. |
void Require(const std::string& module_name); |