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

Unified Diff: content/browser/renderer_host/pepper_tcp_socket.h

Issue 9379002: Move socket API restriction check to browser process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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: content/browser/renderer_host/pepper_tcp_socket.h
diff --git a/content/browser/renderer_host/pepper_tcp_socket.h b/content/browser/renderer_host/pepper_tcp_socket.h
index bc9c6b652948cb6d3efc78df46e725ba83d666c3..6ad4603c64528a1aebdc4750c7ec47b3fdc0dd8c 100644
--- a/content/browser/renderer_host/pepper_tcp_socket.h
+++ b/content/browser/renderer_host/pepper_tcp_socket.h
@@ -34,12 +34,16 @@ class PepperTCPSocket {
uint32 socket_id);
~PepperTCPSocket();
+ int routing_id() { return routing_id_; }
+
void Connect(const std::string& host, uint16_t port);
void ConnectWithNetAddress(const PP_NetAddress_Private& net_addr);
void SSLHandshake(const std::string& server_name, uint16_t server_port);
void Read(int32 bytes_to_read);
void Write(const std::string& data);
+ void SendConnectACKError();
+
private:
enum ConnectionState {
// Before a connection is successfully established (including a previous
@@ -59,7 +63,6 @@ class PepperTCPSocket {
void StartConnect(const net::AddressList& addresses);
- void SendConnectACKError();
void SendReadACKError();
void SendWriteACKError();
void SendSSLHandshakeACK(bool succeeded);
« no previous file with comments | « content/browser/renderer_host/pepper_message_filter.cc ('k') | content/browser/renderer_host/pepper_udp_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698