commit | 12595546f8b1495da70ceed270aadf2827d93ac6 | [log] [tgz] |
---|---|---|
author | Xi Han <hanxi@google.com> | Fri May 25 14:30:36 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri May 25 14:30:36 2018 |
tree | 260100ada229f219f77c49b0ce42ddeea1d7709b | |
parent | 80348445e449a30d6f4d13b6592fee4044edab3b [diff] |
[ServiceManagerContext] Pass a task runner to ServiceManagerContext. Currently, the ServiceManagerContext uses the BrowserThread::IO to start the ServiceManager. We want to create the ServiceManagerContext earlier and start the ServiceManager in the thread that hasn't prompted to BrowserThread::IO yet. In this CL, a task runner is explictly passed to the constructor of the ServiceManagerContext to remove the dependency of BrowserThread::IO. Bug: 729596 Change-Id: I948d6bbd7e5623dbc5c08552ba2b80505e403e67 Reviewed-on: https://chromium-review.googlesource.com/1055757 Commit-Queue: Xi Han <hanxi@chromium.org> Reviewed-by: John Abd-El-Malek <jam@chromium.org> Reviewed-by: Gabriel Charette <gab@chromium.org> Reviewed-by: Ken Rockot <rockot@chromium.org> Cr-Commit-Position: refs/heads/master@{#561866}
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 .