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

Side by Side Diff: chrome/browser/chromeos/dbus/chrome_proxy_resolver_delegate.h

Issue 2775503002: chromeos:: Remove pointless ProxyResolverInterface. (Closed)
Patch Set: fix typo in existing comment Created 3 years, 9 months 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 unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_DBUS_CHROME_PROXY_RESOLVER_DELEGATE_H_
6 #define CHROME_BROWSER_CHROMEOS_DBUS_CHROME_PROXY_RESOLVER_DELEGATE_H_
7
8 #include "base/macros.h"
9 #include "chromeos/dbus/services/proxy_resolution_service_provider.h"
10
11 namespace chromeos {
12
13 // Chrome's implementation of ProxyResolverDelegate.
14 class ChromeProxyResolverDelegate : public ProxyResolverDelegate {
15 public:
16 ChromeProxyResolverDelegate();
17 ~ChromeProxyResolverDelegate() override;
18
19 // ProxyResolverDelegate override.
20 scoped_refptr<net::URLRequestContextGetter> GetRequestContext() override;
21 int ResolveProxy(net::ProxyService* proxy_service,
22 const GURL& url,
23 net::ProxyInfo* results,
24 const net::CompletionCallback& callback) override;
25
26 private:
27 DISALLOW_COPY_AND_ASSIGN(ChromeProxyResolverDelegate);
28 };
29
30 } // namespace chromeos
31
32 #endif // CHROME_BROWSER_CHROMEOS_DBUS_CHROME_PROXY_RESOLVER_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698