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