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

Unified Diff: chrome/browser/ui/webui/extensions/extension_error_handler.h

Issue 23624002: Add UI for RuntimeErrors in the ErrorConsole (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dc_ec_merge
Patch Set: Created 7 years, 3 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/ui/webui/extensions/extension_error_handler.h
diff --git a/chrome/browser/ui/webui/extensions/extension_error_handler.h b/chrome/browser/ui/webui/extensions/extension_error_handler.h
index 75079fa246306cc138b093b17a65668039b4f23a..eb617281e20fca8cac2d1eb3eea855719fd133fd 100644
--- a/chrome/browser/ui/webui/extensions/extension_error_handler.h
+++ b/chrome/browser/ui/webui/extensions/extension_error_handler.h
@@ -53,6 +53,13 @@ class ExtensionErrorHandler : public content::WebUIMessageHandler {
const std::string& specific,
std::string* contents);
+ // Populate the results for a source file's content in response to the
+ // "requestFileSource" call. Highlight the part of the source which
+ // corresponds to the given |line_number|.
+ void GetSourceFileCallback(base::DictionaryValue* results,
+ int line_number,
+ std::string* contents);
+
// The profile with which this Handler is associated.
Profile* profile_;

Powered by Google App Engine
This is Rietveld 408576698