diff options
author | rmsousa@chromium.org <rmsousa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-14 23:19:24 +0000 |
---|---|---|
committer | rmsousa@chromium.org <rmsousa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-14 23:19:24 +0000 |
commit | b7979138857ade4edc414778bc11371cb97f508a (patch) | |
tree | ae020779cd8f8054cdd866d5c48dca981628c069 /remoting/base | |
parent | cf94e030447dab5292b4f0629988049a8d414e9f (diff) | |
download | chromium_src-b7979138857ade4edc414778bc11371cb97f508a.zip chromium_src-b7979138857ade4edc414778bc11371cb97f508a.tar.gz chromium_src-b7979138857ade4edc414778bc11371cb97f508a.tar.bz2 |
Remove unused parameter from url_request_context
BUG=
Review URL: https://chromiumcodereview.appspot.com/23005007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217689 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/base')
-rw-r--r-- | remoting/base/url_request_context.cc | 6 | ||||
-rw-r--r-- | remoting/base/url_request_context.h | 1 |
2 files changed, 1 insertions, 6 deletions
diff --git a/remoting/base/url_request_context.cc b/remoting/base/url_request_context.cc index 470f1535..4e80344 100644 --- a/remoting/base/url_request_context.cc +++ b/remoting/base/url_request_context.cc @@ -43,10 +43,7 @@ class ProxyConfigServiceDirect : public net::ProxyConfigService { }; net::ProxyConfigService* CreateSystemProxyConfigService( - base::SingleThreadTaskRunner* ui_task_runner, base::SingleThreadTaskRunner* io_thread_task_runner) { - DCHECK(ui_task_runner->BelongsToCurrentThread()); - #if defined(OS_WIN) return new net::ProxyConfigServiceWin(); #elif defined(OS_MACOSX) @@ -115,11 +112,10 @@ URLRequestContext::~URLRequestContext() { } URLRequestContextGetter::URLRequestContextGetter( - scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, scoped_refptr<base::SingleThreadTaskRunner> network_task_runner) : network_task_runner_(network_task_runner) { proxy_config_service_.reset(CreateSystemProxyConfigService( - ui_task_runner.get(), network_task_runner_.get())); + network_task_runner_.get())); } net::URLRequestContext* URLRequestContextGetter::GetURLRequestContext() { diff --git a/remoting/base/url_request_context.h b/remoting/base/url_request_context.h index ecdb07a6..6ce2d572 100644 --- a/remoting/base/url_request_context.h +++ b/remoting/base/url_request_context.h @@ -40,7 +40,6 @@ class URLRequestContext : public net::URLRequestContext { class URLRequestContextGetter : public net::URLRequestContextGetter { public: URLRequestContextGetter( - scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, scoped_refptr<base::SingleThreadTaskRunner> network_task_runner); // Overridden from net::URLRequestContextGetter: |