commit | cd6b757d953001eae759c4786b5afe9c7e00916f | [log] [tgz] |
---|---|---|
author | Derek Cheng <[email protected]> | Wed Feb 21 20:15:23 2018 |
committer | Commit Bot <[email protected]> | Wed Feb 21 20:15:23 2018 |
tree | 9d873ef4df0183623181558efe259b8a57b18963 | |
parent | dfc90f1f244f2f9970b0b54bc3fd09eb2b1c9396 [diff] |
[Media Router] Fix URLRequestContext leak and race condition. Remove usage of SystemURLRequestContextGetter which has led to several issues including shutdown leak and test setup problems. This means 2 things: - No more NetLog for DIAL and Cast sockets (for now. When we switch to NetworkService we can reconsider adding back support depending on our needs) - DIAL device description / app info fetch now replaced with URLLoader APIs that's part of network service. The race condition issue caused by calling CMSSImpl::GetWeakPtr on two different sequence is fixed by not using a WeakPtr by assuming CMSSImpl outlives DialMSSImpl, which is true due to their ordering in DualMediaSinkService. Also removed the PostTask trampoline by assuming they both run on the same sequence. Bug: 810676,805728,698940,779892,811226 Change-Id: Ib3ebb4f7f9d3690c952d2ddcbd579bb5d876906e Reviewed-on: https://chromium-review.googlesource.com/912561 Commit-Queue: Derek Cheng <[email protected]> Reviewed-by: Matt Menke <[email protected]> Reviewed-by: Bin Zhao <[email protected]> Cr-Commit-Position: refs/heads/master@{#538195}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .