Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_PROXY_UDP_SOCKET_RESOURCE_H_ | 5 #ifndef PPAPI_PROXY_UDP_SOCKET_RESOURCE_H_ |
| 6 #define PPAPI_PROXY_UDP_SOCKET_RESOURCE_H_ | 6 #define PPAPI_PROXY_UDP_SOCKET_RESOURCE_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "ppapi/proxy/ppapi_proxy_export.h" | 10 #include "ppapi/proxy/ppapi_proxy_export.h" |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 29 virtual PP_Resource GetBoundAddress() override; | 29 virtual PP_Resource GetBoundAddress() override; |
| 30 virtual int32_t RecvFrom(char* buffer, | 30 virtual int32_t RecvFrom(char* buffer, |
| 31 int32_t num_bytes, | 31 int32_t num_bytes, |
| 32 PP_Resource* addr, | 32 PP_Resource* addr, |
| 33 scoped_refptr<TrackedCallback> callback) override; | 33 scoped_refptr<TrackedCallback> callback) override; |
| 34 virtual int32_t SendTo(const char* buffer, | 34 virtual int32_t SendTo(const char* buffer, |
| 35 int32_t num_bytes, | 35 int32_t num_bytes, |
| 36 PP_Resource addr, | 36 PP_Resource addr, |
| 37 scoped_refptr<TrackedCallback> callback) override; | 37 scoped_refptr<TrackedCallback> callback) override; |
| 38 virtual void Close() override; | 38 virtual void Close() override; |
| 39 virtual int32_t SetOption1_0( | |
| 40 PP_UDPSocket_Option name, | |
| 41 const PP_Var& value, | |
| 42 scoped_refptr<TrackedCallback> callback) override; | |
| 39 virtual int32_t SetOption(PP_UDPSocket_Option name, | 43 virtual int32_t SetOption(PP_UDPSocket_Option name, |
| 40 const PP_Var& value, | 44 const PP_Var& value, |
| 41 scoped_refptr<TrackedCallback> callback) override; | 45 scoped_refptr<TrackedCallback> callback) override; |
| 42 | 46 |
| 47 | |
|
bbudge
2014/11/07 17:50:39
nit: extra whitespace
hidehiko
2014/11/07 21:13:55
Done.
| |
| 43 private: | 48 private: |
| 44 DISALLOW_COPY_AND_ASSIGN(UDPSocketResource); | 49 DISALLOW_COPY_AND_ASSIGN(UDPSocketResource); |
| 45 }; | 50 }; |
| 46 | 51 |
| 47 } // namespace proxy | 52 } // namespace proxy |
| 48 } // namespace ppapi | 53 } // namespace ppapi |
| 49 | 54 |
| 50 #endif // PPAPI_PROXY_UDP_SOCKET_RESOURCE_H_ | 55 #endif // PPAPI_PROXY_UDP_SOCKET_RESOURCE_H_ |
| OLD | NEW |