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

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

Issue 9455092: HostResolver is exposed to plugin. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added shared declaration of GetPPB_HostResolver_Private_0_1_Thunk. Created 8 years, 10 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
Index: webkit/plugins/ppapi/mock_plugin_delegate.h
diff --git a/webkit/plugins/ppapi/mock_plugin_delegate.h b/webkit/plugins/ppapi/mock_plugin_delegate.h
index 832785048260ebaef42df524272ebcdd7767a2c6..348c736b0d71bd4012167a3629c408a6c9c0ce40 100644
--- a/webkit/plugins/ppapi/mock_plugin_delegate.h
+++ b/webkit/plugins/ppapi/mock_plugin_delegate.h
@@ -142,6 +142,15 @@ class MockPluginDelegate : public PluginDelegate {
virtual void TCPServerSocketAccept(uint32 real_socket_id);
virtual void TCPServerSocketStopListening(uint32 real_socket_id,
uint32 temp_socket_id);
+ virtual void RegisterHostResolver(
+ ::ppapi::PPB_HostResolver_Shared* host_resolver,
+ uint32 host_resolver_id);
+ virtual void HostResolverResolve(
+ uint32 host_resolver_id,
+ const std::string& host,
+ uint16_t port,
+ const PP_HostResolver_Private_Hint* hint);
+ virtual void UnregisterHostResolver(uint32 host_resolver_id);
virtual int32_t ShowContextMenu(
PluginInstance* instance,
webkit::ppapi::PPB_Flash_Menu_Impl* menu,

Powered by Google App Engine
This is Rietveld 408576698