(1) ExternalMetrics has to destroy itself in file thread due to weakptr.

(2) MetricsService has to stop before destruction of CastBrowserProcess, which is referenced inside MetricsService's stopping code.

Review URL: https://codereview.chromium.org/845003002

Cr-Commit-Position: refs/heads/master@{#310958}
4 files changed