Change 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

Review-Url: https://codereview.chromium.org/2577863002
Cr-Commit-Position: refs/heads/master@{#439374}
1 file changed