commit | eaf5ae20a8bbe2a6c7c39f98385cce0fa5dbb1ab | [log] [tgz] |
---|---|---|
author | Pengcheng <[email protected]> | Thu Jan 18 01:57:17 2018 |
committer | Commit Bot <[email protected]> | Thu Jan 18 01:57:17 2018 |
tree | 315a17d80de6afd1d660c21ec583db056fe8fd00 | |
parent | cd10b9fa907fbc1e8f20883d3854895430425f56 [diff] |
Do not create TaskScheduler/NetworkChangeNotifierFactory if it exists. We have an android project which want to embed webview (not system one) and cronet (native impl) together into one android app, but now webview and cronet are conflicts with each other, because both initialize TaskScheduler and NetworkChangeNotifierFactory, which will crash the app. This cl adds interface to get current NetworkChangeNotifierFactory instance, and ignore creating one if it exists; and for TaskScheduler, adds a new interface to ContentBrowserClient to control create it or not at browser_main_loop.cc, therefore we can disable it but initialize it at our own entry point. Bug: 801077 Cq-Include-Trybots: master.tryserver.chromium.android:android_cronet_tester;master.tryserver.chromium.mac:ios-simulator-cronet Change-Id: I5fe5323677536f948847f6d7d56d132d42abff0d Reviewed-on: https://chromium-review.googlesource.com/818924 Reviewed-by: Nasko Oskov <[email protected]> Reviewed-by: Bo <[email protected]> Reviewed-by: Paul Jensen <[email protected]> Commit-Queue: Pengcheng Xu <[email protected]> Cr-Commit-Position: refs/heads/master@{#530011}
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 .