Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: chrome/browser/extensions/extension_host.h

Issue 23007021: Report Javascript Runtime Errors to the Error Console (Closed) Base URL:
Patch Set: Created 7 years, 4 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: chrome/browser/extensions/extension_host.h
diff --git a/chrome/browser/extensions/extension_host.h b/chrome/browser/extensions/extension_host.h
index f4e88862f6281a98e51116b528904c2613703dce..af2348f7e902ece83e69a7ecaf0392ae0a98ed13 100644
--- a/chrome/browser/extensions/extension_host.h
+++ b/chrome/browser/extensions/extension_host.h
@@ -147,6 +147,11 @@ class ExtensionHost : public content::WebContentsDelegate,
virtual void DocumentAvailableInMainFrame() OVERRIDE;
virtual void DidStopLoading(
content::RenderViewHost* render_view_host) OVERRIDE;
+ virtual void OnMessageAddedToConsole(const base::string16& source,
+ const base::string16& message,
+ const base::string16& stack_trace,
+ int32 line_number,
+ logging::LogSeverity level) OVERRIDE;
// content::WebContentsDelegate
virtual content::WebContents* OpenURLFromTab(

Powered by Google App Engine
This is Rietveld 408576698