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 |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c853ace4322f523abe75d360d9f3f006d74324f6 |
--- /dev/null |
+++ b/chrome/browser/chromeos/dbus/chrome_proxy_resolver_delegate.cc |
@@ -0,0 +1,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 |