OLD | NEW |
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 "chromeos/dbus/services/proxy_resolution_service_provider.h" | 9 #include "chromeos/dbus/services/proxy_resolution_service_provider.h" |
9 | 10 |
10 namespace chromeos { | 11 namespace chromeos { |
11 | 12 |
12 // Chrome's implementation of ProxyResolverDelegate. | 13 // Chrome's implementation of ProxyResolverDelegate. |
13 class ChromeProxyResolverDelegate | 14 class ChromeProxyResolverDelegate |
14 : public ProxyResolverDelegate { | 15 : public ProxyResolverDelegate { |
15 public: | 16 public: |
16 ChromeProxyResolverDelegate(); | 17 ChromeProxyResolverDelegate(); |
17 ~ChromeProxyResolverDelegate() override; | 18 ~ChromeProxyResolverDelegate() override; |
18 | 19 |
19 // ProxyResolverDelegate override. | 20 // ProxyResolverDelegate override. |
20 scoped_refptr<net::URLRequestContextGetter> GetRequestContext() override; | 21 scoped_refptr<net::URLRequestContextGetter> GetRequestContext() override; |
21 | 22 |
22 private: | 23 private: |
23 DISALLOW_COPY_AND_ASSIGN(ChromeProxyResolverDelegate); | 24 DISALLOW_COPY_AND_ASSIGN(ChromeProxyResolverDelegate); |
24 }; | 25 }; |
25 | 26 |
26 } // namespace chromeos | 27 } // namespace chromeos |
27 | 28 |
28 #endif // CHROME_BROWSER_CHROMEOS_DBUS_CHROME_PROXY_RESOLVER_DELEGATE_H_ | 29 #endif // CHROME_BROWSER_CHROMEOS_DBUS_CHROME_PROXY_RESOLVER_DELEGATE_H_ |
OLD | NEW |