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/macros.h" |
8 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
10 #include "mojo/public/cpp/bindings/binding.h" | 11 #include "mojo/public/cpp/bindings/binding.h" |
11 #include "net/base/completion_callback.h" | 12 #include "net/base/completion_callback.h" |
12 #include "net/proxy/proxy_resolver_factory.h" | 13 #include "net/proxy/proxy_resolver_factory.h" |
13 | 14 |
14 namespace net { | 15 namespace net { |
15 class HostResolver; | 16 class HostResolver; |
16 class MojoProxyResolverFactory; | 17 class MojoProxyResolverFactory; |
17 class NetLog; | 18 class NetLog; |
(...skipping 27 matching lines...) Expand all Loading... |
45 const base::Callback<scoped_ptr<ProxyResolverErrorObserver>()> | 46 const base::Callback<scoped_ptr<ProxyResolverErrorObserver>()> |
46 error_observer_factory_; | 47 error_observer_factory_; |
47 NetLog* const net_log_; | 48 NetLog* const net_log_; |
48 | 49 |
49 DISALLOW_COPY_AND_ASSIGN(ProxyResolverFactoryMojo); | 50 DISALLOW_COPY_AND_ASSIGN(ProxyResolverFactoryMojo); |
50 }; | 51 }; |
51 | 52 |
52 } // namespace net | 53 } // namespace net |
53 | 54 |
54 #endif // NET_PROXY_PROXY_RESOLVER_FACTORY_MOJO_H_ | 55 #endif // NET_PROXY_PROXY_RESOLVER_FACTORY_MOJO_H_ |
OLD | NEW |