| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "net/base/single_request_host_resolver.h" | 5 #include "net/dns/single_request_host_resolver.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "net/base/net_errors.h" | 11 #include "net/base/net_errors.h" |
| 12 | 12 |
| 13 namespace net { | 13 namespace net { |
| 14 | 14 |
| 15 SingleRequestHostResolver::SingleRequestHostResolver(HostResolver* resolver) | 15 SingleRequestHostResolver::SingleRequestHostResolver(HostResolver* resolver) |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 | 68 |
| 69 // Clear the outstanding request information. | 69 // Clear the outstanding request information. |
| 70 cur_request_ = NULL; | 70 cur_request_ = NULL; |
| 71 cur_request_callback_.Reset(); | 71 cur_request_callback_.Reset(); |
| 72 | 72 |
| 73 // Call the user's original callback. | 73 // Call the user's original callback. |
| 74 callback.Run(result); | 74 callback.Run(result); |
| 75 } | 75 } |
| 76 | 76 |
| 77 } // namespace net | 77 } // namespace net |
| OLD | NEW |