| 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_IMPL_H_ | 5 #ifndef NET_PROXY_MOJO_PROXY_RESOLVER_IMPL_H_ |
| 6 #define NET_PROXY_MOJO_PROXY_RESOLVER_IMPL_H_ | 6 #define NET_PROXY_MOJO_PROXY_RESOLVER_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <queue> | 9 #include <queue> |
| 10 #include <set> | 10 #include <set> |
| 11 | 11 |
| 12 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 14 #include "net/interfaces/proxy_resolver_service.mojom.h" | 15 #include "net/interfaces/proxy_resolver_service.mojom.h" |
| 15 #include "net/proxy/proxy_resolver.h" | 16 #include "net/proxy/proxy_resolver.h" |
| 16 | 17 |
| 17 namespace net { | 18 namespace net { |
| 18 class ProxyResolverV8Tracing; | 19 class ProxyResolverV8Tracing; |
| 19 | 20 |
| 20 class MojoProxyResolverImpl : public interfaces::ProxyResolver { | 21 class MojoProxyResolverImpl : public interfaces::ProxyResolver { |
| 21 public: | 22 public: |
| (...skipping 13 matching lines...) Expand all Loading... |
| 35 | 36 |
| 36 scoped_ptr<ProxyResolverV8Tracing> resolver_; | 37 scoped_ptr<ProxyResolverV8Tracing> resolver_; |
| 37 std::set<Job*> resolve_jobs_; | 38 std::set<Job*> resolve_jobs_; |
| 38 | 39 |
| 39 DISALLOW_COPY_AND_ASSIGN(MojoProxyResolverImpl); | 40 DISALLOW_COPY_AND_ASSIGN(MojoProxyResolverImpl); |
| 40 }; | 41 }; |
| 41 | 42 |
| 42 } // namespace net | 43 } // namespace net |
| 43 | 44 |
| 44 #endif // NET_PROXY_MOJO_PROXY_RESOLVER_IMPL_H_ | 45 #endif // NET_PROXY_MOJO_PROXY_RESOLVER_IMPL_H_ |
| OLD | NEW |