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

Side by Side 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, 8 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 Level level; 47 Level level;
48 WebString text; 48 WebString text;
49 WebString url; 49 WebString url;
50 unsigned lineNumber; 50 unsigned lineNumber;
51 unsigned columnNumber; 51 unsigned columnNumber;
52 52
53 WebConsoleMessage() : level(LevelInfo), lineNumber(0), columnNumber(0) {} 53 WebConsoleMessage() : level(LevelInfo), lineNumber(0), columnNumber(0) {}
54 WebConsoleMessage(Level level, const WebString& text) 54 WebConsoleMessage(Level level, const WebString& text)
55 : level(level), text(text), lineNumber(0), columnNumber(0) {} 55 : level(level), text(text), lineNumber(0), columnNumber(0) {}
56 WebConsoleMessage(Level level,
57 const WebString& text,
58 const WebString url,
59 unsigned lineNumber,
60 unsigned columnNumber)
61 : level(level),
62 text(text),
63 url(url),
64 lineNumber(lineNumber),
65 columnNumber(columnNumber) {}
56 }; 66 };
57 67
58 } // namespace blink 68 } // namespace blink
59 69
60 #endif 70 #endif
OLDNEW
« 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