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

Unified Diff: runtime/observatory/lib/src/repositories/event.dart

Issue 2299893003: Converted Observatory logging-page element (Closed)
Patch Set: Updated observatory_sources.gypi Created 4 years, 3 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: runtime/observatory/lib/src/repositories/event.dart
diff --git a/runtime/observatory/lib/src/repositories/event.dart b/runtime/observatory/lib/src/repositories/event.dart
index d6300e99afaaee6393d61aeb78a84f6633797216..6995f1699957b1ad92d1aa3b5e8acef7614f1de1 100644
--- a/runtime/observatory/lib/src/repositories/event.dart
+++ b/runtime/observatory/lib/src/repositories/event.dart
@@ -29,6 +29,7 @@ class EventRepository implements M.EventRepository {
final Stream<M.BreakpointRemovedEvent> onBreakpointRemoved;
final Stream<M.InspectEvent> onInspect;
final Stream<M.GCEvent> onGCEvent;
+ final Stream<M.LoggingEvent> onLoggingEvent;
final Stream<M.ExtensionEvent> onExtensionEvent;
final Stream<M.TimelineEventsEvent> onTimelineEvents;
final Stream<M.ConnectionClosedEvent> onConnectionClosed;
@@ -40,6 +41,7 @@ class EventRepository implements M.EventRepository {
controller.stream.where((e) => e is M.IsolateEvent),
controller.stream.where((e) => e is M.DebugEvent),
controller.stream.where((e) => e is M.GCEvent),
+ controller.stream.where((e) => e is M.LoggingEvent),
controller.stream.where((e) => e is M.ExtensionEvent),
controller.stream.where((e) => e is M.TimelineEventsEvent),
controller.stream.where((e) => e is M.ConnectionClosedEvent));
@@ -47,6 +49,7 @@ class EventRepository implements M.EventRepository {
EventRepository.__(StreamController controller,
Stream<M.VMEvent> onVMEvent, Stream<M.IsolateEvent> onIsolateEvent,
Stream<M.DebugEvent> onDebugEvent, Stream<M.GCEvent> onGCEvent,
+ Stream<M.LoggingEvent> onLoggingEvent,
Stream<M.ExtensionEvent> onExtensionEvent,
Stream<M.TimelineEventsEvent> onTimelineEvents,
Stream<M.ConnectionClosedEvent> onConnectionClosed)
@@ -79,6 +82,7 @@ class EventRepository implements M.EventRepository {
onDebugEvent.where((e) => e is M.BreakpointRemovedEvent),
onInspect = onDebugEvent.where((e) => e is M.InspectEvent),
onGCEvent = onGCEvent,
+ onLoggingEvent = onLoggingEvent,
onExtensionEvent = onExtensionEvent,
onTimelineEvents = onTimelineEvents,
onConnectionClosed = onConnectionClosed;
« no previous file with comments | « runtime/observatory/lib/src/models/repositories/event.dart ('k') | runtime/observatory/observatory_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698