[base] Make LazyTaskRunner ThreadPool specific
Users with BrowserThread traits can just use the getter to get a new pointer to the existing task runner each time (the BrowserThread API will soon move to content::GetUIThreadTaskRunner() and this call will make even more sense then the current one using "create" semantics). This is necessary in order to rename LazyTaskRunner to LazyThreadPoolTaskRunner and having it automatically call into the upcoming base::ThreadPool:: APIs (destination as an API rather than as a trait). See Task Posting APIs v3 for details: https://docs.google.com/document/d/1tssusPykvx3g0gvbvU4HxGyn3MjJlIylnsH13-Tv6s4/edit R=fdoray@chromium.org Bug: 1026641 Change-Id: I03e84ad5f607c93c4e2d649820954f0a4b08df56 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1988682 Auto-Submit: Gabriel Charette <gab@chromium.org> Reviewed-by:Patrick Monette <pmonette@chromium.org> Reviewed-by:
François Doray <fdoray@chromium.org> Commit-Queue: Gabriel Charette <gab@chromium.org> Cr-Commit-Position: refs/heads/master@{#729940}
Showing
Please register or sign in to comment