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

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

Issue 19005006: Switched proxy for TCPServerSocketPrivate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed content_unittests. Created 7 years, 5 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
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
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 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.
yzshen1 2013/07/19 23:51:58 I think you should also change the mock plugin del
ygorshenin1 2013/07/29 14:03:57 Done.
581 virtual void TCPServerSocketListen(PP_Resource socket_resource,
582 const PP_NetAddress_Private& addr,
583 int32_t backlog) = 0;
584 virtual void TCPServerSocketAccept(uint32 server_socket_id) = 0;
585 virtual void TCPServerSocketStopListening(
586 PP_Resource socket_resource,
587 uint32 socket_id) = 0;
588
589 // Add/remove a network list observer. 580 // Add/remove a network list observer.
590 virtual bool AddNetworkListObserver( 581 virtual bool AddNetworkListObserver(
591 webkit_glue::NetworkListObserver* observer) = 0; 582 webkit_glue::NetworkListObserver* observer) = 0;
592 virtual void RemoveNetworkListObserver( 583 virtual void RemoveNetworkListObserver(
593 webkit_glue::NetworkListObserver* observer) = 0; 584 webkit_glue::NetworkListObserver* observer) = 0;
594 585
595 // For PPB_X509Certificate_Private. 586 // For PPB_X509Certificate_Private.
596 virtual bool X509CertificateParseDER( 587 virtual bool X509CertificateParseDER(
597 const std::vector<char>& der, 588 const std::vector<char>& der,
598 ::ppapi::PPB_X509Certificate_Fields* fields) = 0; 589 ::ppapi::PPB_X509Certificate_Fields* fields) = 0;
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 // The loader object should set itself on the PluginInstance as the document 685 // The loader object should set itself on the PluginInstance as the document
695 // loader using set_document_loader. 686 // loader using set_document_loader.
696 virtual void HandleDocumentLoad(PluginInstance* instance, 687 virtual void HandleDocumentLoad(PluginInstance* instance,
697 const WebKit::WebURLResponse& response) = 0; 688 const WebKit::WebURLResponse& response) = 0;
698 }; 689 };
699 690
700 } // namespace ppapi 691 } // namespace ppapi
701 } // namespace webkit 692 } // namespace webkit
702 693
703 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 694 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698