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

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

Issue 9669038: Added out-of-process support for server sockets. (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/mock_plugin_delegate.cc ('k') | webkit/plugins/ppapi/plugin_module.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/plugin_delegate.h
diff --git a/webkit/plugins/ppapi/plugin_delegate.h b/webkit/plugins/ppapi/plugin_delegate.h
index be8cd1635115d4ca2eec7df6c7f36d91c31df58e..53c94052e1862cd9e9ed933f1d4d357401f91b3d 100644
--- a/webkit/plugins/ppapi/plugin_delegate.h
+++ b/webkit/plugins/ppapi/plugin_delegate.h
@@ -23,6 +23,7 @@
#include "ppapi/c/pp_completion_callback.h"
#include "ppapi/c/pp_errors.h"
#include "ppapi/c/pp_instance.h"
+#include "ppapi/c/pp_resource.h"
#include "ppapi/c/pp_stdint.h"
#include "ui/gfx/size.h"
#include "webkit/fileapi/file_system_types.h"
@@ -88,7 +89,6 @@ class PluginModule;
class PPB_Broker_Impl;
class PPB_Flash_Menu_Impl;
class PPB_Flash_NetConnector_Impl;
-class PPB_TCPServerSocket_Private_Impl;
class PPB_TCPSocket_Private_Impl;
class PPB_UDPSocket_Private_Impl;
@@ -478,13 +478,13 @@ class PluginDelegate {
virtual void UDPSocketClose(uint32 socket_id) = 0;
// For PPB_TCPServerSocket_Private.
- virtual void TCPServerSocketListen(PPB_TCPServerSocket_Private_Impl* socket,
- uint32 temp_socket_id,
+ virtual void TCPServerSocketListen(PP_Resource socket_resource,
const PP_NetAddress_Private& addr,
int32_t backlog) = 0;
- virtual void TCPServerSocketAccept(uint32 real_socket_id) = 0;
- virtual void TCPServerSocketStopListening(uint32 real_socket_id,
- uint32 temp_socket_id) = 0;
+ virtual void TCPServerSocketAccept(uint32 server_socket_id) = 0;
+ virtual void TCPServerSocketStopListening(
+ PP_Resource socket_resource,
+ uint32 socket_id) = 0;
// For PPB_HostResolver_Private.
virtual void RegisterHostResolver(
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.cc ('k') | webkit/plugins/ppapi/plugin_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698