[Media Router] Fix RecordPresentationRequestUrlBySink.
When the native Cast MRP was disabled, the FixProviderId() hack was mapping all Chromecast media sources to ProviderId::EXTENSION, which is not expected by RecordPresentationRequestUrlBySink. This patch records the histogram before invoking FixProviderId(). It also restores the unittest for RecordPresentationRequestUrlBySink, which was deleted in http://crrev.com/c/2405519 Bug: 1112866 Change-Id: Iff2ea815c18458d6dcccb00974524c0ad382d461 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2468788 Commit-Queue: mark a. foltz <mfoltz@chromium.org> Reviewed-by:John Williams <jrw@chromium.org> Cr-Commit-Position: refs/heads/master@{#818525}
Showing
Please register or sign in to comment