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

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

Issue 9836131: Remove PPB_Flash_NetConnector and ENABLE_FLAPPER_HACKS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 months 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/c/private/ppb_flash_net_connector.h ('k') | ppapi/cpp/private/flash_net_connector.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef PPAPI_CPP_PRIVATE_FLASH_NET_CONNECTOR_H_
6 #define PPAPI_CPP_PRIVATE_FLASH_NET_CONNECTOR_H_
7
8 #include "ppapi/c/private/ppb_flash_net_connector.h"
9 #include "ppapi/cpp/resource.h"
10
11 namespace pp {
12
13 class CompletionCallback;
14 class InstanceHandle;
15
16 namespace flash {
17
18 class NetConnector : public Resource {
19 public:
20 explicit NetConnector(const InstanceHandle& instance);
21
22 int32_t ConnectTcp(const char* host,
23 uint16_t port,
24 PP_FileHandle* socket_out,
25 PP_NetAddress_Private* local_addr_out,
26 PP_NetAddress_Private* remote_addr_out,
27 const CompletionCallback& cc);
28 int32_t ConnectTcpAddress(const PP_NetAddress_Private* addr,
29 PP_FileHandle* socket_out,
30 PP_NetAddress_Private* local_addr_out,
31 PP_NetAddress_Private* remote_addr_out,
32 const CompletionCallback& cc);
33 };
34
35 } // namespace flash
36 } // namespace pp
37
38 #endif // PPAPI_CPP_PRIVATE_FLASH_NET_CONNECTOR_H_
OLDNEW
« no previous file with comments | « ppapi/c/private/ppb_flash_net_connector.h ('k') | ppapi/cpp/private/flash_net_connector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698