Change the HttpServerPropertiesManager::net_task_runner_ to use a...
Change the HttpServerPropertiesManager::net_task_runner_ to use a TestMockTimeTaskRunner in unittests so that we are able to verify tasks posted with delay in the future. Now all the tests that were ExpectCacheUpdate or ExpectScheduleUpdatePrefsOnNetworkThread will need to call net_test_task_runner_>FastForwardUntilNoTasksRemain() so that all the tasks complete running. BUG=670519 Review-Url: https://codereview.chromium.org/2563273002 Cr-Commit-Position: refs/heads/master@{#437980}
Showing
Please register or sign in to comment