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

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

Issue 2761153003: PlzNavigate & CSP. Use the SourceLocation in violation reports. (Closed)
Patch Set: Addressed comment @alexmos Created 3 years, 9 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 f91967083a4a394b2c45631265092147f52d254a..173b33e278c006f6d8de7cec3f0716c5bc8cca87 100644
--- a/third_party/WebKit/public/web/WebConsoleMessage.h
+++ b/third_party/WebKit/public/web/WebConsoleMessage.h
@@ -53,6 +53,16 @@ struct WebConsoleMessage {
WebConsoleMessage() : level(LevelInfo), lineNumber(0), columnNumber(0) {}
WebConsoleMessage(Level level, const WebString& text)
: level(level), text(text), lineNumber(0), columnNumber(0) {}
+ WebConsoleMessage(Level level,
+ const WebString& text,
+ const WebString url,
+ unsigned lineNumber,
+ unsigned columnNumber)
+ : level(level),
+ text(text),
+ url(url),
+ lineNumber(lineNumber),
+ columnNumber(columnNumber) {}
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/public/platform/WebSourceLocation.h ('k') | third_party/WebKit/public/web/WebDataSource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698