OLD | NEW |
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 CONTENT_BROWSER_RENDERER_HOST_PEPPER_TCP_SERVER_SOCKET_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_TCP_SERVER_SOCKET_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_TCP_SERVER_SOCKET_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_TCP_SERVER_SOCKET_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "ppapi/c/pp_resource.h" | 11 #include "ppapi/c/pp_resource.h" |
12 | 12 |
13 class PepperMessageFilter; | 13 class PepperMessageFilter; |
14 struct PP_NetAddress_Private; | 14 struct PP_NetAddress_Private; |
15 | 15 |
16 namespace net { | 16 namespace net { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 uint32 socket_id_; | 58 uint32 socket_id_; |
59 | 59 |
60 State state_; | 60 State state_; |
61 | 61 |
62 scoped_ptr<net::ServerSocket> socket_; | 62 scoped_ptr<net::ServerSocket> socket_; |
63 scoped_ptr<net::StreamSocket> socket_buffer_; | 63 scoped_ptr<net::StreamSocket> socket_buffer_; |
64 | 64 |
65 DISALLOW_COPY_AND_ASSIGN(PepperTCPServerSocket); | 65 DISALLOW_COPY_AND_ASSIGN(PepperTCPServerSocket); |
66 }; | 66 }; |
67 | 67 |
68 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_TCP_SERVER_SOCKET_H_ | 68 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_TCP_SERVER_SOCKET_H_ |
OLD | NEW |