OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 NET_PROXY_PROXY_RESOLVER_FACTORY_MOJO_H_ | 5 #ifndef NET_PROXY_PROXY_RESOLVER_FACTORY_MOJO_H_ |
6 #define NET_PROXY_PROXY_RESOLVER_FACTORY_MOJO_H_ | 6 #define NET_PROXY_PROXY_RESOLVER_FACTORY_MOJO_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "mojo/public/cpp/bindings/binding.h" |
10 #include "net/base/completion_callback.h" | 11 #include "net/base/completion_callback.h" |
11 #include "net/proxy/proxy_resolver_factory.h" | 12 #include "net/proxy/proxy_resolver_factory.h" |
12 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h" | |
13 | 13 |
14 namespace net { | 14 namespace net { |
15 class HostResolver; | 15 class HostResolver; |
16 class MojoProxyResolverFactory; | 16 class MojoProxyResolverFactory; |
17 class NetLog; | 17 class NetLog; |
18 class ProxyResolverErrorObserver; | 18 class ProxyResolverErrorObserver; |
19 class ProxyResolverScriptData; | 19 class ProxyResolverScriptData; |
20 | 20 |
21 // Implementation of ProxyResolverFactory that connects to a Mojo service to | 21 // Implementation of ProxyResolverFactory that connects to a Mojo service to |
22 // create implementations of a Mojo proxy resolver to back a ProxyResolverMojo. | 22 // create implementations of a Mojo proxy resolver to back a ProxyResolverMojo. |
(...skipping 22 matching lines...) Expand all Loading... |
45 const base::Callback<scoped_ptr<ProxyResolverErrorObserver>()> | 45 const base::Callback<scoped_ptr<ProxyResolverErrorObserver>()> |
46 error_observer_factory_; | 46 error_observer_factory_; |
47 NetLog* const net_log_; | 47 NetLog* const net_log_; |
48 | 48 |
49 DISALLOW_COPY_AND_ASSIGN(ProxyResolverFactoryMojo); | 49 DISALLOW_COPY_AND_ASSIGN(ProxyResolverFactoryMojo); |
50 }; | 50 }; |
51 | 51 |
52 } // namespace net | 52 } // namespace net |
53 | 53 |
54 #endif // NET_PROXY_PROXY_RESOLVER_FACTORY_MOJO_H_ | 54 #endif // NET_PROXY_PROXY_RESOLVER_FACTORY_MOJO_H_ |
OLD | NEW |