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_MOJO_PROXY_RESOLVER_FACTORY_IMPL_H_ | 5 #ifndef NET_PROXY_MOJO_PROXY_RESOLVER_FACTORY_IMPL_H_ |
6 #define NET_PROXY_MOJO_PROXY_RESOLVER_FACTORY_IMPL_H_ | 6 #define NET_PROXY_MOJO_PROXY_RESOLVER_FACTORY_IMPL_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "mojo/public/cpp/bindings/strong_binding.h" |
11 #include "net/interfaces/proxy_resolver_service.mojom.h" | 12 #include "net/interfaces/proxy_resolver_service.mojom.h" |
12 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h" | |
13 | 13 |
14 namespace net { | 14 namespace net { |
15 class HostResolver; | 15 class HostResolver; |
16 class ProxyResolverErrorObserver; | 16 class ProxyResolverErrorObserver; |
17 class ProxyResolverV8TracingFactory; | 17 class ProxyResolverV8TracingFactory; |
18 | 18 |
19 class MojoProxyResolverFactoryImpl : public interfaces::ProxyResolverFactory { | 19 class MojoProxyResolverFactoryImpl : public interfaces::ProxyResolverFactory { |
20 public: | 20 public: |
21 explicit MojoProxyResolverFactoryImpl( | 21 explicit MojoProxyResolverFactoryImpl( |
22 mojo::InterfaceRequest<interfaces::ProxyResolverFactory> request); | 22 mojo::InterfaceRequest<interfaces::ProxyResolverFactory> request); |
(...skipping 18 matching lines...) Expand all Loading... |
41 mojo::StrongBinding<interfaces::ProxyResolverFactory> binding_; | 41 mojo::StrongBinding<interfaces::ProxyResolverFactory> binding_; |
42 | 42 |
43 std::set<Job*> jobs_; | 43 std::set<Job*> jobs_; |
44 | 44 |
45 DISALLOW_COPY_AND_ASSIGN(MojoProxyResolverFactoryImpl); | 45 DISALLOW_COPY_AND_ASSIGN(MojoProxyResolverFactoryImpl); |
46 }; | 46 }; |
47 | 47 |
48 } // namespace net | 48 } // namespace net |
49 | 49 |
50 #endif // NET_PROXY_MOJO_PROXY_RESOLVER_FACTORY_IMPL_H_ | 50 #endif // NET_PROXY_MOJO_PROXY_RESOLVER_FACTORY_IMPL_H_ |
OLD | NEW |