Check USB device path access when prompting users to select a device.
[chromium-blink-merge.git] / chrome / browser / chromeos / dbus / chrome_proxy_resolver_delegate.cc
blobc853ace4322f523abe75d360d9f3f006d74324f6
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"
10 namespace chromeos {
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