Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Unified Diff: webkit/plugins/ppapi/ppb_host_resolver_private_impl.h

Issue 9455092: HostResolver is exposed to plugin. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Sync. Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/plugins/ppapi/plugin_delegate.h ('k') | webkit/plugins/ppapi/ppb_host_resolver_private_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..9d42ca039131a9bbf588a3745f71c724210eee8c
--- /dev/null
+++ b/webkit/plugins/ppapi/ppb_host_resolver_private_impl.h
@@ -0,0 +1,29 @@
+// 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:
+ explicit PPB_HostResolver_Private_Impl(PP_Instance instance);
tony 2012/03/14 19:12:15 Nit: Can we explicitly include the header that def
ygorshenin1 2012/03/14 20:15:06 For why? PPB_HostResolver_Shared implements PPB_Ho
+ virtual ~PPB_HostResolver_Private_Impl();
+
+ virtual void SendResolve(const ::ppapi::HostPortPair& host_port,
+ const PP_HostResolver_Private_Hint* hint) OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(PPB_HostResolver_Private_Impl);
+};
+
+} // namespace ppapi
+} // namespace webkit
+
+#endif // WEBKIT_PLUGINS_PPAPI_PPB_HOST_RESOLVER_PRIVATE_IMPL_H_
« no previous file with comments | « webkit/plugins/ppapi/plugin_delegate.h ('k') | webkit/plugins/ppapi/ppb_host_resolver_private_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698