OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/browser/chromeos/dbus/chrome_proxy_resolver_delegate.h" |
| 6 |
| 7 #include "chrome/browser/profiles/profile_manager.h" |
| 8 #include "net/url_request/url_request_context_getter.h" |
| 9 |
| 10 namespace chromeos { |
| 11 |
| 12 ChromeProxyResolverDelegate::ChromeProxyResolverDelegate() {} |
| 13 |
| 14 ChromeProxyResolverDelegate::~ChromeProxyResolverDelegate() {} |
| 15 |
| 16 scoped_refptr<net::URLRequestContextGetter> |
| 17 ChromeProxyResolverDelegate::GetRequestContext() { |
| 18 Profile* profile = ProfileManager::GetPrimaryUserProfile(); |
| 19 return profile->GetRequestContext(); |
| 20 } |
| 21 |
| 22 } // namespace chromeos |
OLD | NEW |