DescriptionChange HttpServerPropertiesManager::pref_task_runner_ to use TestMockTimeTaskRunner in unittests
so that we are able to verify tasks posted with delay in the future.
Now all the tests that used to ExpectPrefUpdate() will need to call
pref_task_runner_->FastForwardUntilNoTasksRemain() so that all the pref
tasks complete running. Note running the pref(net)_task_runner might result
in new tasks posted to net(pref)_task_runner.
BUG=670519
Committed: https://crrev.com/56fd0975bd8aded8e004fd4d52fc80e2fd51898c
Cr-Commit-Position: refs/heads/master@{#439374}
Patch Set 1 #Patch Set 2 : update with upstream #Patch Set 3 : Merge branch 'Fix_All_Use_Pref_Test_Task_Runner' into Fix_All_Pref_tests #Patch Set 4 : rebase with upstream checked in #Patch Set 5 : rebase #Messages
Total messages: 16 (11 generated)
|