Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5979)

Unified Diff: chrome/browser/chromeos/dbus/chrome_proxy_resolver_delegate.cc

Issue 743623002: Move ProxyResolutionServiceProvider to chromeos/dbus/services (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698