Chromium Code Reviews| Index: remoting/client/plugin/pepper_util.h |
| diff --git a/remoting/client/plugin/pepper_util.h b/remoting/client/plugin/pepper_util.h |
| index 80ab630b6611e2a2805601455645db7a796159da..35d1b54631e06f6d49d6f7f1387c8a428ae3c274 100644 |
| --- a/remoting/client/plugin/pepper_util.h |
| +++ b/remoting/client/plugin/pepper_util.h |
| @@ -10,6 +10,12 @@ |
| #include "ppapi/cpp/completion_callback.h" |
| +struct PP_NetAddress_Private; |
| + |
| +namespace talk_base { |
| +class SocketAddress; |
| +} // namespace talk_base |
| + |
| namespace remoting { |
| // Adapts a base::Callback to a pp::CompletionCallback, which may be passed to |
| @@ -17,6 +23,14 @@ namespace remoting { |
| // |callback| will be leaked, including references & passed values bound to it. |
| pp::CompletionCallback PpCompletionCallback(base::Callback<void(int)> callback); |
| +bool SocketAddressToPpAddressWithPort(const talk_base::SocketAddress& address, |
|
Wez
2012/05/15 23:11:29
nit: Add short explanatory comment(s) so these met
Sergey Ulanov
2012/05/16 00:22:30
Done.
|
| + PP_NetAddress_Private* pp_address, |
| + uint16_t port); |
| +bool SocketAddressToPpAddress(const talk_base::SocketAddress& address, |
| + PP_NetAddress_Private* pp_address); |
| +bool PpAddressToSocketAddress(const PP_NetAddress_Private& pp_address, |
| + talk_base::SocketAddress* address); |
| + |
| } // namespace remoting |
| #endif // REMOTING_CLIENT_PLUGIN_PLUGIN_UTIL_H_ |