Remove usage of SingleThreadTaskRunner from DataReductionProxyConfig.
commitc1fe98e261ba2dea61a291b3f0b4f9afa2f2ddec
authorjeremyim <jeremyim@chromium.org>
Tue, 28 Apr 2015 20:41:37 +0000 (28 13:41 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 28 Apr 2015 20:42:39 +0000 (28 20:42 +0000)
treedc51dde861c2ae4cd4d58d3aba92cda4287bdbb6
parentb49e1f973408dbb482d374ef57a31f3fd6a1641f
Remove usage of SingleThreadTaskRunner from DataReductionProxyConfig.

With the removal using the DataReductionProxyService class to perform the secure proxy check, there is no longer a need to post tasks to the UI thread.

This effectively makes DataReductionProxyConfig an IO thread only class, and does not need to have pointers to task runners.

BUG=472290

Review URL: https://codereview.chromium.org/1052583005

Cr-Commit-Position: refs/heads/master@{#327360}
components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc
components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h
components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.cc
components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.h
components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc
components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc
components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc