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

Unified Diff: chrome/renderer/module_system.h

Issue 10383242: Expose DumpException() in ModuleSystem. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: respond to comments Created 8 years, 7 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
« no previous file with comments | « no previous file | chrome/renderer/module_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | chrome/renderer/module_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698