Chromium Code Reviews| Index: webkit/plugins/ppapi/ppb_host_resolver_private_impl.h |
| diff --git a/webkit/plugins/ppapi/ppb_host_resolver_private_impl.h b/webkit/plugins/ppapi/ppb_host_resolver_private_impl.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b42fb7a7726c5ee010bf755689b331c3446f8a8d |
| --- /dev/null |
| +++ b/webkit/plugins/ppapi/ppb_host_resolver_private_impl.h |
| @@ -0,0 +1,32 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef WEBKIT_PLUGINS_PPAPI_PPB_HOST_RESOLVER_PRIVATE_IMPL_H_ |
| +#define WEBKIT_PLUGINS_PPAPI_PPB_HOST_RESOLVER_PRIVATE_IMPL_H_ |
| + |
| +#include "base/compiler_specific.h" |
| +#include "ppapi/shared_impl/private/ppb_host_resolver_shared.h" |
| + |
| +namespace webkit { |
| +namespace ppapi { |
| + |
| +class PPB_HostResolver_Private_Impl : public ::ppapi::PPB_HostResolver_Shared { |
| + public: |
| + static PP_Resource CreateResource(PP_Instance instance); |
| + |
| + virtual void SendResolve(const std::string& host, |
| + uint16_t port, |
| + const PP_HostResolver_Private_Hint* hint); |
|
brettw
2012/02/28 17:02:50
Can you append OVERRIDE here?
ygorshenin1
2012/02/29 14:02:37
Done.
|
| + |
| + private: |
| + explicit PPB_HostResolver_Private_Impl(PP_Instance instance); |
| + virtual ~PPB_HostResolver_Private_Impl(); |
| + |
| + DISALLOW_COPY_AND_ASSIGN(PPB_HostResolver_Private_Impl); |
| +}; |
| + |
| +} // namespace ppapi |
| +} // namespace webkit |
| + |
| +#endif // WEBKIT_PLUGINS_PPAPI_PPB_HOST_RESOLVER_PRIVATE_IMPL_H_ |