| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "ppapi/proxy/host_resolver_resource_base.h" | 5 #include "ppapi/proxy/host_resolver_resource_base.h" |
| 6 | 6 |
| 7 #include "base/bind.h" |
| 7 #include "ppapi/c/pp_errors.h" | 8 #include "ppapi/c/pp_errors.h" |
| 8 #include "ppapi/proxy/net_address_resource.h" | 9 #include "ppapi/proxy/net_address_resource.h" |
| 9 #include "ppapi/proxy/ppapi_messages.h" | 10 #include "ppapi/proxy/ppapi_messages.h" |
| 10 #include "ppapi/shared_impl/tracked_callback.h" | 11 #include "ppapi/shared_impl/tracked_callback.h" |
| 11 #include "ppapi/shared_impl/var.h" | 12 #include "ppapi/shared_impl/var.h" |
| 12 | 13 |
| 13 namespace ppapi { | 14 namespace ppapi { |
| 14 namespace proxy { | 15 namespace proxy { |
| 15 | 16 |
| 16 namespace { | 17 namespace { |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 base::Bind(&HostResolverResourceBase::OnPluginMsgResolveReply, | 123 base::Bind(&HostResolverResourceBase::OnPluginMsgResolveReply, |
| 123 base::Unretained(this))); | 124 base::Unretained(this))); |
| 124 } | 125 } |
| 125 | 126 |
| 126 bool HostResolverResourceBase::ResolveInProgress() const { | 127 bool HostResolverResourceBase::ResolveInProgress() const { |
| 127 return TrackedCallback::IsPending(resolve_callback_); | 128 return TrackedCallback::IsPending(resolve_callback_); |
| 128 } | 129 } |
| 129 | 130 |
| 130 } // namespace proxy | 131 } // namespace proxy |
| 131 } // namespace ppapi | 132 } // namespace ppapi |
| OLD | NEW |