[Harmony Cast Dialog] Record toolbar icon and cast source metrics
Record MediaRouter.Icon.Click.Location whenever the Cast trusted area icon is clicked. When a media route is created, call the callback to record MediaRouter.Source.CastingSource before calling other callbacks, so that the MediaRouterUIBase doesn't get destroyed before we get to record. Bug: 880624 Change-Id: Ic242cb7621886035f07f8edd96ca55b0d7b7a0a8 Reviewed-on: https://chromium-review.googlesource.com/1205992 Commit-Queue: Takumi Fujimoto <takumif@chromium.org> Reviewed-by:Derek Cheng <imcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#588945}
Showing
Please register or sign in to comment