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

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

Issue 1571633002: Pass Manifest JSON paser error line and column number to console. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add comments 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
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 21c4509102b21abd3a84861a325c0ee8ee1b76e6..d0a109c348648438725fa143008e69ce0fb816cf 100644
--- a/third_party/WebKit/public/web/WebConsoleMessage.h
+++ b/third_party/WebKit/public/web/WebConsoleMessage.h
@@ -49,16 +49,22 @@ struct WebConsoleMessage {
Level level;
WebString text;
WebString url;
+ unsigned lineNumber;
+ unsigned columnNumber;
WebConsoleMessage()
- : level(LevelLog) { }
+ : level(LevelLog)
+ , lineNumber(0)
+ , columnNumber(0)
+ {
+ }
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) { }
+ , lineNumber(0)
+ , columnNumber(0)
+ {
+ }
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698