OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // TODO(viettrungluu): See the comment in corresponding .h file. | 5 // TODO(viettrungluu): See the comment in corresponding .h file. |
6 | 6 |
7 #include "ppapi/cpp/private/flash.h" | 7 #include "ppapi/cpp/private/flash_net_connector.h" |
8 | 8 |
9 #include "ppapi/c/pp_errors.h" | 9 #include "ppapi/c/pp_errors.h" |
10 #include "ppapi/cpp/completion_callback.h" | 10 #include "ppapi/cpp/completion_callback.h" |
11 #include "ppapi/cpp/instance.h" | 11 #include "ppapi/cpp/instance.h" |
12 #include "ppapi/cpp/module.h" | 12 #include "ppapi/cpp/module.h" |
13 #include "ppapi/cpp/module_impl.h" | 13 #include "ppapi/cpp/module_impl.h" |
14 | 14 |
15 namespace pp { | 15 namespace pp { |
16 | 16 |
17 namespace { | 17 namespace { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 return PP_ERROR_NOINTERFACE; | 55 return PP_ERROR_NOINTERFACE; |
56 return get_interface<PPB_Flash_NetConnector>()->ConnectTcpAddress( | 56 return get_interface<PPB_Flash_NetConnector>()->ConnectTcpAddress( |
57 pp_resource(), | 57 pp_resource(), |
58 addr, | 58 addr, |
59 socket_out, local_addr_out, remote_addr_out, | 59 socket_out, local_addr_out, remote_addr_out, |
60 cc.pp_completion_callback()); | 60 cc.pp_completion_callback()); |
61 } | 61 } |
62 | 62 |
63 } // namespace flash | 63 } // namespace flash |
64 } // namespace pp | 64 } // namespace pp |
OLD | NEW |