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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorLogAgent.cpp

Issue 2623423004: DevTools: add interventions message source into log entries. (Closed)
Patch Set: same w/ frontend Created 3 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/Source/core/inspector/InspectorLogAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorLogAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorLogAgent.cpp
index c7f51d705d876e1eee3c948620b3ca4fb5c38c63..f98fb16098eca831d1ec3e69effe88afddf01d3d 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorLogAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorLogAgent.cpp
@@ -44,6 +44,8 @@ String messageSourceValue(MessageSource source) {
return protocol::Log::LogEntry::SourceEnum::Worker;
case ViolationMessageSource:
return protocol::Log::LogEntry::SourceEnum::Violation;
+ case InterventionMessageSource:
+ return protocol::Log::LogEntry::SourceEnum::Intervention;
default:
return protocol::Log::LogEntry::SourceEnum::Other;
}

Powered by Google App Engine
This is Rietveld 408576698