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

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/plugins/webkit_plugins_export.h" 39 #include "webkit/plugins/webkit_plugins_export.h"
40 40
41 class GURL; 41 class GURL;
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 virtual void TCPSocketSSLHandshake( 565 virtual void TCPSocketSSLHandshake(
566 uint32 socket_id, 566 uint32 socket_id,
567 const std::string& server_name, 567 const std::string& server_name,
568 uint16_t server_port, 568 uint16_t server_port,
569 const std::vector<std::vector<char> >& trusted_certs, 569 const std::vector<std::vector<char> >& trusted_certs,
570 const std::vector<std::vector<char> >& untrusted_certs) = 0; 570 const std::vector<std::vector<char> >& untrusted_certs) = 0;
571 virtual void TCPSocketRead(uint32 socket_id, int32_t bytes_to_read) = 0; 571 virtual void TCPSocketRead(uint32 socket_id, int32_t bytes_to_read) = 0;
572 virtual void TCPSocketWrite(uint32 socket_id, const std::string& buffer) = 0; 572 virtual void TCPSocketWrite(uint32 socket_id, const std::string& buffer) = 0;
573 virtual void TCPSocketDisconnect(uint32 socket_id) = 0; 573 virtual void TCPSocketDisconnect(uint32 socket_id) = 0;
574 virtual void TCPSocketSetOption(uint32 socket_id, 574 virtual void TCPSocketSetOption(uint32 socket_id,
575 PP_TCPSocket_Option_Dev name, 575 PP_TCPSocket_Option name,
576 const ::ppapi::SocketOptionData& value) = 0; 576 const ::ppapi::SocketOptionData& value) = 0;
577 virtual void RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket, 577 virtual void RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket,
578 uint32 socket_id) = 0; 578 uint32 socket_id) = 0;
579 579
580 // For PPB_TCPServerSocket_Private. 580 // For PPB_TCPServerSocket_Private.
581 virtual void TCPServerSocketListen(PP_Resource socket_resource, 581 virtual void TCPServerSocketListen(PP_Resource socket_resource,
582 const PP_NetAddress_Private& addr, 582 const PP_NetAddress_Private& addr,
583 int32_t backlog) = 0; 583 int32_t backlog) = 0;
584 virtual void TCPServerSocketAccept(uint32 server_socket_id) = 0; 584 virtual void TCPServerSocketAccept(uint32 server_socket_id) = 0;
585 virtual void TCPServerSocketStopListening( 585 virtual void TCPServerSocketStopListening(
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 // The loader object should set itself on the PluginInstance as the document 694 // The loader object should set itself on the PluginInstance as the document
695 // loader using set_document_loader. 695 // loader using set_document_loader.
696 virtual void HandleDocumentLoad(PluginInstance* instance, 696 virtual void HandleDocumentLoad(PluginInstance* instance,
697 const WebKit::WebURLResponse& response) = 0; 697 const WebKit::WebURLResponse& response) = 0;
698 }; 698 };
699 699
700 } // namespace ppapi 700 } // namespace ppapi
701 } // namespace webkit 701 } // namespace webkit
702 702
703 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 703 #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