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 PPAPI_THUNK_PPB_TCP_SOCKET_PRIVATE_API_H_ | 5 #ifndef PPAPI_THUNK_PPB_TCP_SOCKET_PRIVATE_API_H_ |
6 #define PPAPI_THUNK_PPB_TCP_SOCKET_PRIVATE_API_H_ | 6 #define PPAPI_THUNK_PPB_TCP_SOCKET_PRIVATE_API_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
9 #include "ppapi/c/private/ppb_tcp_socket_private.h" | 11 #include "ppapi/c/private/ppb_tcp_socket_private.h" |
10 #include "ppapi/thunk/ppapi_thunk_export.h" | 12 #include "ppapi/thunk/ppapi_thunk_export.h" |
11 | 13 |
12 namespace ppapi { | 14 namespace ppapi { |
13 | 15 |
14 class TrackedCallback; | 16 class TrackedCallback; |
15 | 17 |
16 namespace thunk { | 18 namespace thunk { |
17 | 19 |
(...skipping 24 matching lines...) Expand all Loading... |
42 virtual void Disconnect() = 0; | 44 virtual void Disconnect() = 0; |
43 virtual int32_t SetOption(PP_TCPSocketOption_Private name, | 45 virtual int32_t SetOption(PP_TCPSocketOption_Private name, |
44 const PP_Var& value, | 46 const PP_Var& value, |
45 scoped_refptr<TrackedCallback> callback) = 0; | 47 scoped_refptr<TrackedCallback> callback) = 0; |
46 }; | 48 }; |
47 | 49 |
48 } // namespace thunk | 50 } // namespace thunk |
49 } // namespace ppapi | 51 } // namespace ppapi |
50 | 52 |
51 #endif // PPAPI_THUNK_PPB_TCP_SOCKET_PRIVATE_API_H_ | 53 #endif // PPAPI_THUNK_PPB_TCP_SOCKET_PRIVATE_API_H_ |
OLD | NEW |