summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/dbus/chrome_proxy_resolver_delegate.cc
blob: c853ace4322f523abe75d360d9f3f006d74324f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// 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/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();
}

}  // namespace chromeos