Add an event observer for logged Background Service events.

Adds an event to inform the DevTools frontend about new Background Service
events. Sends all existing (logged) events when enabled, and updates the
frontend with new events as they come along.

Bug: 927726
Change-Id: Id4ee17df8385179207d461ebfa33e031a0b79cac
Commit-Queue: Rayan Kanso <>
Reviewed-by: Dmitry Gozman <>
Cr-Commit-Position: refs/heads/master@{#639461}
8 files changed