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

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

Issue 2772573002: chromeos: Improve ProxyResolutionServiceProvider testing. (Closed)
Patch Set: add a DCHECK 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/dbus/chrome_proxy_resolver_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_DBUS_CHROME_PROXY_RESOLVER_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DBUS_CHROME_PROXY_RESOLVER_DELEGATE_H_
6 #define CHROME_BROWSER_CHROMEOS_DBUS_CHROME_PROXY_RESOLVER_DELEGATE_H_ 6 #define CHROME_BROWSER_CHROMEOS_DBUS_CHROME_PROXY_RESOLVER_DELEGATE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chromeos/dbus/services/proxy_resolution_service_provider.h" 9 #include "chromeos/dbus/services/proxy_resolution_service_provider.h"
10 10
11 namespace chromeos { 11 namespace chromeos {
12 12
13 // Chrome's implementation of ProxyResolverDelegate. 13 // Chrome's implementation of ProxyResolverDelegate.
14 class ChromeProxyResolverDelegate 14 class ChromeProxyResolverDelegate : public ProxyResolverDelegate {
15 : public ProxyResolverDelegate {
16 public: 15 public:
17 ChromeProxyResolverDelegate(); 16 ChromeProxyResolverDelegate();
18 ~ChromeProxyResolverDelegate() override; 17 ~ChromeProxyResolverDelegate() override;
19 18
20 // ProxyResolverDelegate override. 19 // ProxyResolverDelegate override.
21 scoped_refptr<net::URLRequestContextGetter> GetRequestContext() 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;
22 25
23 private: 26 private:
24 DISALLOW_COPY_AND_ASSIGN(ChromeProxyResolverDelegate); 27 DISALLOW_COPY_AND_ASSIGN(ChromeProxyResolverDelegate);
25 }; 28 };
26 29
27 } // namespace chromeos 30 } // namespace chromeos
28 31
29 #endif // CHROME_BROWSER_CHROMEOS_DBUS_CHROME_PROXY_RESOLVER_DELEGATE_H_ 32 #endif // CHROME_BROWSER_CHROMEOS_DBUS_CHROME_PROXY_RESOLVER_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/dbus/chrome_proxy_resolver_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698