Chromium Code Reviews| 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 "base/bind.h" | |
| 6 #include "ppapi/c/pp_errors.h" | |
| 5 #include "ppapi/proxy/host_resolver_resource_base.h" | 7 #include "ppapi/proxy/host_resolver_resource_base.h" |
|
viettrungluu
2013/07/12 21:52:12
This include should remain first, on a line separa
Mostyn Bramley-Moore
2013/07/13 06:40:15
Done.
| |
| 6 | |
| 7 #include "ppapi/c/pp_errors.h" | |
| 8 #include "ppapi/proxy/net_address_resource.h" | 8 #include "ppapi/proxy/net_address_resource.h" |
| 9 #include "ppapi/proxy/ppapi_messages.h" | 9 #include "ppapi/proxy/ppapi_messages.h" |
| 10 #include "ppapi/shared_impl/tracked_callback.h" | 10 #include "ppapi/shared_impl/tracked_callback.h" |
| 11 #include "ppapi/shared_impl/var.h" | 11 #include "ppapi/shared_impl/var.h" |
| 12 | 12 |
| 13 namespace ppapi { | 13 namespace ppapi { |
| 14 namespace proxy { | 14 namespace proxy { |
| 15 | 15 |
| 16 namespace { | 16 namespace { |
| 17 | 17 |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 122 base::Bind(&HostResolverResourceBase::OnPluginMsgResolveReply, | 122 base::Bind(&HostResolverResourceBase::OnPluginMsgResolveReply, |
| 123 base::Unretained(this))); | 123 base::Unretained(this))); |
| 124 } | 124 } |
| 125 | 125 |
| 126 bool HostResolverResourceBase::ResolveInProgress() const { | 126 bool HostResolverResourceBase::ResolveInProgress() const { |
| 127 return TrackedCallback::IsPending(resolve_callback_); | 127 return TrackedCallback::IsPending(resolve_callback_); |
| 128 } | 128 } |
| 129 | 129 |
| 130 } // namespace proxy | 130 } // namespace proxy |
| 131 } // namespace ppapi | 131 } // namespace ppapi |
| OLD | NEW |