| 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 EXTENSIONS_BROWSER_API_DNS_HOST_RESOLVER_WRAPPER_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_DNS_HOST_RESOLVER_WRAPPER_H_ |
| 6 #define EXTENSIONS_BROWSER_API_DNS_HOST_RESOLVER_WRAPPER_H_ | 6 #define EXTENSIONS_BROWSER_API_DNS_HOST_RESOLVER_WRAPPER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "base/memory/singleton.h" | 9 #include "base/memory/singleton.h" |
| 9 | 10 |
| 10 namespace content { | 11 namespace content { |
| 11 class ResourceContext; | 12 class ResourceContext; |
| 12 } | 13 } |
| 13 | 14 |
| 14 namespace net { | 15 namespace net { |
| 15 class HostResolver; | 16 class HostResolver; |
| 16 } | 17 } |
| 17 | 18 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 43 friend struct base::DefaultSingletonTraits<HostResolverWrapper>; | 44 friend struct base::DefaultSingletonTraits<HostResolverWrapper>; |
| 44 | 45 |
| 45 net::HostResolver* resolver_; | 46 net::HostResolver* resolver_; |
| 46 | 47 |
| 47 DISALLOW_COPY_AND_ASSIGN(HostResolverWrapper); | 48 DISALLOW_COPY_AND_ASSIGN(HostResolverWrapper); |
| 48 }; | 49 }; |
| 49 | 50 |
| 50 } // namespace extensions | 51 } // namespace extensions |
| 51 | 52 |
| 52 #endif // EXTENSIONS_BROWSER_API_DNS_HOST_RESOLVER_WRAPPER_H_ | 53 #endif // EXTENSIONS_BROWSER_API_DNS_HOST_RESOLVER_WRAPPER_H_ |
| OLD | NEW |