Use scoped_refptr<SingleThreadTaskRunner> when initializing ProxyConfigService
commit3f923064c11c69f13a7aba56dce6620a33166c94
authorsergeyu <sergeyu@chromium.org>
Fri, 5 Sep 2014 01:39:40 +0000 (4 18:39 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 5 Sep 2014 01:43:54 +0000 (5 01:43 +0000)
tree2addeba01ccd32adadbae6556cf3f8566a7c8149
parent84eae5e4c626a3b61b13b22fd13f859ec410583a
Use scoped_refptr<SingleThreadTaskRunner> when initializing ProxyConfigService

Previously MessageLoop was used to pass reference to the FILE thread
to ProxyConfigServiceLinux. Changeed it to use SingleThreadTaskRunner.
Also for other thread the task runners were passed as raw pointers.
Changed it to use scoped_refptr<> instead.

TBR=jochen@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#293395}
14 files changed:
chrome/browser/net/proxy_service_factory.cc
chrome/service/net/service_url_request_context_getter.cc
content/shell/browser/shell_url_request_context_getter.cc
net/proxy/proxy_config_service_android.cc
net/proxy/proxy_config_service_android.h
net/proxy/proxy_config_service_linux.cc
net/proxy/proxy_config_service_linux.h
net/proxy/proxy_config_service_linux_unittest.cc
net/proxy/proxy_config_service_mac.cc
net/proxy/proxy_config_service_mac.h
net/proxy/proxy_service.cc
net/proxy/proxy_service.h
net/tools/net_watcher/net_watcher.cc
net/url_request/url_request_context_builder.cc