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

Side by Side Diff: webkit/plugins/ppapi/plugin_delegate.h

Issue 17314012: Move PPB_TCPSocket out of dev. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/message_loop/message_loop_proxy.h" 13 #include "base/message_loop/message_loop_proxy.h"
14 #include "base/platform_file.h" 14 #include "base/platform_file.h"
15 #include "base/process.h" 15 #include "base/process.h"
16 #include "base/shared_memory.h" 16 #include "base/shared_memory.h"
17 #include "base/sync_socket.h" 17 #include "base/sync_socket.h"
18 #include "base/time.h" 18 #include "base/time.h"
19 #include "googleurl/src/gurl.h" 19 #include "googleurl/src/gurl.h"
20 #include "ipc/ipc_platform_file.h" 20 #include "ipc/ipc_platform_file.h"
21 #include "media/video/capture/video_capture.h" 21 #include "media/video/capture/video_capture.h"
22 #include "media/video/video_decode_accelerator.h" 22 #include "media/video/video_decode_accelerator.h"
23 #include "ppapi/c/dev/pp_video_dev.h" 23 #include "ppapi/c/dev/pp_video_dev.h"
24 #include "ppapi/c/dev/ppb_device_ref_dev.h" 24 #include "ppapi/c/dev/ppb_device_ref_dev.h"
25 #include "ppapi/c/dev/ppb_tcp_socket_dev.h"
26 #include "ppapi/c/pp_completion_callback.h" 25 #include "ppapi/c/pp_completion_callback.h"
27 #include "ppapi/c/pp_errors.h" 26 #include "ppapi/c/pp_errors.h"
28 #include "ppapi/c/pp_file_info.h" 27 #include "ppapi/c/pp_file_info.h"
29 #include "ppapi/c/pp_instance.h" 28 #include "ppapi/c/pp_instance.h"
30 #include "ppapi/c/pp_resource.h" 29 #include "ppapi/c/pp_resource.h"
31 #include "ppapi/c/pp_stdint.h" 30 #include "ppapi/c/pp_stdint.h"
31 #include "ppapi/c/ppb_tcp_socket.h"
32 #include "ppapi/c/private/ppb_flash.h" 32 #include "ppapi/c/private/ppb_flash.h"
33 #include "ppapi/c/private/ppb_tcp_socket_private.h" 33 #include "ppapi/c/private/ppb_tcp_socket_private.h"
34 #include "ppapi/c/private/ppb_udp_socket_private.h" 34 #include "ppapi/c/private/ppb_udp_socket_private.h"
35 #include "ppapi/shared_impl/dir_contents.h" 35 #include "ppapi/shared_impl/dir_contents.h"
36 #include "ui/gfx/size.h" 36 #include "ui/gfx/size.h"
37 #include "webkit/common/fileapi/file_system_types.h" 37 #include "webkit/common/fileapi/file_system_types.h"
38 #include "webkit/common/quota/quota_types.h" 38 #include "webkit/common/quota/quota_types.h"
39 #include "webkit/glue/clipboard_client.h" 39 #include "webkit/glue/clipboard_client.h"
40 #include "webkit/plugins/webkit_plugins_export.h" 40 #include "webkit/plugins/webkit_plugins_export.h"
41 41
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 virtual void TCPSocketSSLHandshake( 567 virtual void TCPSocketSSLHandshake(
568 uint32 socket_id, 568 uint32 socket_id,
569 const std::string& server_name, 569 const std::string& server_name,
570 uint16_t server_port, 570 uint16_t server_port,
571 const std::vector<std::vector<char> >& trusted_certs, 571 const std::vector<std::vector<char> >& trusted_certs,
572 const std::vector<std::vector<char> >& untrusted_certs) = 0; 572 const std::vector<std::vector<char> >& untrusted_certs) = 0;
573 virtual void TCPSocketRead(uint32 socket_id, int32_t bytes_to_read) = 0; 573 virtual void TCPSocketRead(uint32 socket_id, int32_t bytes_to_read) = 0;
574 virtual void TCPSocketWrite(uint32 socket_id, const std::string& buffer) = 0; 574 virtual void TCPSocketWrite(uint32 socket_id, const std::string& buffer) = 0;
575 virtual void TCPSocketDisconnect(uint32 socket_id) = 0; 575 virtual void TCPSocketDisconnect(uint32 socket_id) = 0;
576 virtual void TCPSocketSetOption(uint32 socket_id, 576 virtual void TCPSocketSetOption(uint32 socket_id,
577 PP_TCPSocket_Option_Dev name, 577 PP_TCPSocket_Option name,
578 const ::ppapi::SocketOptionData& value) = 0; 578 const ::ppapi::SocketOptionData& value) = 0;
579 virtual void RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket, 579 virtual void RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket,
580 uint32 socket_id) = 0; 580 uint32 socket_id) = 0;
581 581
582 // For PPB_TCPServerSocket_Private. 582 // For PPB_TCPServerSocket_Private.
583 virtual void TCPServerSocketListen(PP_Resource socket_resource, 583 virtual void TCPServerSocketListen(PP_Resource socket_resource,
584 const PP_NetAddress_Private& addr, 584 const PP_NetAddress_Private& addr,
585 int32_t backlog) = 0; 585 int32_t backlog) = 0;
586 virtual void TCPServerSocketAccept(uint32 server_socket_id) = 0; 586 virtual void TCPServerSocketAccept(uint32 server_socket_id) = 0;
587 virtual void TCPServerSocketStopListening( 587 virtual void TCPServerSocketStopListening(
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
696 // The loader object should set itself on the PluginInstance as the document 696 // The loader object should set itself on the PluginInstance as the document
697 // loader using set_document_loader. 697 // loader using set_document_loader.
698 virtual void HandleDocumentLoad(PluginInstance* instance, 698 virtual void HandleDocumentLoad(PluginInstance* instance,
699 const WebKit::WebURLResponse& response) = 0; 699 const WebKit::WebURLResponse& response) = 0;
700 }; 700 };
701 701
702 } // namespace ppapi 702 } // namespace ppapi
703 } // namespace webkit 703 } // namespace webkit
704 704
705 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 705 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
OLDNEW
« 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