| 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 REMOTING_CLIENT_PLUGIN_PEPPER_ADDRESS_RESOLVER_H_ | 5 #ifndef REMOTING_CLIENT_PLUGIN_PEPPER_ADDRESS_RESOLVER_H_ |
| 6 #define REMOTING_CLIENT_PLUGIN_PEPPER_ADDRESS_RESOLVER_H_ | 6 #define REMOTING_CLIENT_PLUGIN_PEPPER_ADDRESS_RESOLVER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "ppapi/cpp/host_resolver.h" | 9 #include "ppapi/cpp/host_resolver.h" |
| 9 #include "ppapi/utility/completion_callback_factory.h" | 10 #include "ppapi/utility/completion_callback_factory.h" |
| 10 #include "third_party/webrtc/base/asyncresolverinterface.h" | 11 #include "third_party/webrtc/base/asyncresolverinterface.h" |
| 11 | 12 |
| 12 namespace remoting { | 13 namespace remoting { |
| 13 | 14 |
| 14 // rtc::AsyncResolverInterface implementation that uses Pepper to resolve | 15 // rtc::AsyncResolverInterface implementation that uses Pepper to resolve |
| 15 // addresses. | 16 // addresses. |
| 16 class PepperAddressResolver : public rtc::AsyncResolverInterface { | 17 class PepperAddressResolver : public rtc::AsyncResolverInterface { |
| 17 public: | 18 public: |
| (...skipping 17 matching lines...) Expand all Loading... |
| 35 int error_; | 36 int error_; |
| 36 | 37 |
| 37 pp::CompletionCallbackFactory<PepperAddressResolver> callback_factory_; | 38 pp::CompletionCallbackFactory<PepperAddressResolver> callback_factory_; |
| 38 | 39 |
| 39 DISALLOW_COPY_AND_ASSIGN(PepperAddressResolver); | 40 DISALLOW_COPY_AND_ASSIGN(PepperAddressResolver); |
| 40 }; | 41 }; |
| 41 | 42 |
| 42 } // namespace remoting | 43 } // namespace remoting |
| 43 | 44 |
| 44 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_ADDRESS_RESOLVER_H_ | 45 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_ADDRESS_RESOLVER_H_ |
| OLD | NEW |