Lazily create a TestingProfile in OptimizationGuideHintsManagerTest
This currently crashes on Android O builders when we intend to move the clock forward since the queue flushes all pending tasks and one of the tasks that gets posted at the end of startup attempts that the creation of a TestingProfile triggers is to instantiate a system_network_context_manager which is null in unit tests. (crbug/981057) Bug: 999349 Change-Id: Ie60ca11674eb332a277dc783181f0230c7a23ef5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1788300Reviewed-by:Doug Arnett <dougarnett@chromium.org> Commit-Queue: Sophie Chang <sophiechang@chromium.org> Cr-Commit-Position: refs/heads/master@{#693943}
Showing
Please register or sign in to comment