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.
5 #include "chrome/browser/chromeos/dbus/chrome_proxy_resolver_delegate.h"
7 #include "chrome/browser/profiles/profile_manager.h"
8 #include "net/url_request/url_request_context_getter.h"
12 ChromeProxyResolverDelegate::ChromeProxyResolverDelegate() {}
14 ChromeProxyResolverDelegate::~ChromeProxyResolverDelegate() {}
16 scoped_refptr
<net::URLRequestContextGetter
>
17 ChromeProxyResolverDelegate::GetRequestContext() {
18 Profile
* profile
= ProfileManager::GetPrimaryUserProfile();
19 return profile
->GetRequestContext();
22 } // namespace chromeos