| Index: chrome/browser/chromeos/dbus/chrome_proxy_resolver_delegate.cc
|
| diff --git a/chrome/browser/chromeos/dbus/chrome_proxy_resolver_delegate.cc b/chrome/browser/chromeos/dbus/chrome_proxy_resolver_delegate.cc
|
| deleted file mode 100644
|
| index ac8874a344786fcd2ce8febe1c48aeaf7358ecf3..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/chromeos/dbus/chrome_proxy_resolver_delegate.cc
|
| +++ /dev/null
|
| @@ -1,35 +0,0 @@
|
| -// Copyright 2014 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#include "chrome/browser/chromeos/dbus/chrome_proxy_resolver_delegate.h"
|
| -
|
| -#include "chrome/browser/profiles/profile_manager.h"
|
| -#include "net/log/net_log_with_source.h"
|
| -#include "net/proxy/proxy_service.h"
|
| -#include "net/url_request/url_request_context_getter.h"
|
| -
|
| -namespace chromeos {
|
| -
|
| -ChromeProxyResolverDelegate::ChromeProxyResolverDelegate() {}
|
| -
|
| -ChromeProxyResolverDelegate::~ChromeProxyResolverDelegate() {}
|
| -
|
| -scoped_refptr<net::URLRequestContextGetter>
|
| -ChromeProxyResolverDelegate::GetRequestContext() {
|
| - Profile* profile = ProfileManager::GetPrimaryUserProfile();
|
| - return profile->GetRequestContext();
|
| -}
|
| -
|
| -int ChromeProxyResolverDelegate::ResolveProxy(
|
| - net::ProxyService* proxy_service,
|
| - const GURL& url,
|
| - net::ProxyInfo* results,
|
| - const net::CompletionCallback& callback) {
|
| - DCHECK(proxy_service);
|
| - DCHECK(results);
|
| - return proxy_service->ResolveProxy(url, std::string(), results, callback,
|
| - nullptr, nullptr, net::NetLogWithSource());
|
| -}
|
| -
|
| -} // namespace chromeos
|
|
|