Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(286)

Side by Side Diff: ppapi/cpp/private/flash_net_connector.cc

Issue 8561033: Pepper: Add remaining Flash-specific C++ Pepper wrappers to ppapi_cpp.gypi. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/cpp/private/flash_net_connector.h ('k') | ppapi/cpp/private/flash_udp_socket.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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.
6
7 #include "ppapi/cpp/private/flash_net_connector.h" 5 #include "ppapi/cpp/private/flash_net_connector.h"
8 6
9 #include "ppapi/c/pp_errors.h" 7 #include "ppapi/c/pp_errors.h"
10 #include "ppapi/cpp/completion_callback.h" 8 #include "ppapi/cpp/completion_callback.h"
11 #include "ppapi/cpp/instance.h" 9 #include "ppapi/cpp/instance.h"
12 #include "ppapi/cpp/module.h" 10 #include "ppapi/cpp/module.h"
13 #include "ppapi/cpp/module_impl.h" 11 #include "ppapi/cpp/module_impl.h"
14 12
15 namespace pp { 13 namespace pp {
16 14
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 return cc.MayForce(PP_ERROR_NOINTERFACE); 53 return cc.MayForce(PP_ERROR_NOINTERFACE);
56 return get_interface<PPB_Flash_NetConnector>()->ConnectTcpAddress( 54 return get_interface<PPB_Flash_NetConnector>()->ConnectTcpAddress(
57 pp_resource(), 55 pp_resource(),
58 addr, 56 addr,
59 socket_out, local_addr_out, remote_addr_out, 57 socket_out, local_addr_out, remote_addr_out,
60 cc.pp_completion_callback()); 58 cc.pp_completion_callback());
61 } 59 }
62 60
63 } // namespace flash 61 } // namespace flash
64 } // namespace pp 62 } // namespace pp
OLDNEW
« no previous file with comments | « ppapi/cpp/private/flash_net_connector.h ('k') | ppapi/cpp/private/flash_udp_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698