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

Unified Diff: third_party/WebKit/Source/core/inspector/ConsoleTypes.h

Issue 2474073005: DevTools: add the logging aspect into the PerformanceMonitor (Closed)
Patch Set: Created 4 years, 1 month 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/Source/core/inspector/ConsoleTypes.h
diff --git a/third_party/WebKit/Source/core/inspector/ConsoleTypes.h b/third_party/WebKit/Source/core/inspector/ConsoleTypes.h
index 88df00c3a5667f437cb7ad015d4196ef7207acb0..8408deb6593f4dfaa47bb7fc69829f9f7c82b287 100644
--- a/third_party/WebKit/Source/core/inspector/ConsoleTypes.h
+++ b/third_party/WebKit/Source/core/inspector/ConsoleTypes.h
@@ -18,7 +18,8 @@ enum MessageSource {
SecurityMessageSource,
OtherMessageSource,
DeprecationMessageSource,
- WorkerMessageSource
+ WorkerMessageSource,
+ PerfMessageSource
};
enum MessageLevel {
@@ -26,7 +27,8 @@ enum MessageLevel {
LogMessageLevel = 1,
InfoMessageLevel = 5,
WarningMessageLevel = 2,
- ErrorMessageLevel = 3
+ ErrorMessageLevel = 3,
+ ViolationMessageLevel = 6
panicker 2016/11/04 20:59:28 Seems like we might need severity levels within Vi
panicker 2016/11/04 20:59:28 PerfViolationMessageLevel ? I don't think we want
pfeldman 2016/11/04 21:26:39 I'll make it a source, not a level, then you get t
};
}

Powered by Google App Engine
This is Rietveld 408576698