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

Unified Diff: third_party/WebKit/public/web/WebConsoleMessage.h

Issue 1564913003: [DevTools] Shows Manifest file in Sources tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Set Manifest URL in error messages. Created 4 years, 11 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: third_party/WebKit/public/web/WebConsoleMessage.h
diff --git a/third_party/WebKit/public/web/WebConsoleMessage.h b/third_party/WebKit/public/web/WebConsoleMessage.h
index 9f61f2fcc31a5eeed4cbe75c3f6db80e4cf83cf6..21c4509102b21abd3a84861a325c0ee8ee1b76e6 100644
--- a/third_party/WebKit/public/web/WebConsoleMessage.h
+++ b/third_party/WebKit/public/web/WebConsoleMessage.h
@@ -48,12 +48,17 @@ struct WebConsoleMessage {
Level level;
WebString text;
+ WebString url;
WebConsoleMessage()
: level(LevelLog) { }
WebConsoleMessage(Level level, const WebString& text)
: level(level)
, text(text) { }
+ WebConsoleMessage(Level level, const WebString& text, const WebString& url)
+ : level(level)
+ , text(text)
+ , url(url) { }
pfeldman 2016/01/08 01:54:06 You also want the line and column numbers here.
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698