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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/pepper_interface.h

Issue 22587003: [NaCl SDK] Add UDP and TCP Sockets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Running tests on package Created 7 years, 4 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 LIBRARIES_NACL_IO_PEPPER_INTERFACE_H_ 5 #ifndef LIBRARIES_NACL_IO_PEPPER_INTERFACE_H_
6 #define LIBRARIES_NACL_IO_PEPPER_INTERFACE_H_ 6 #define LIBRARIES_NACL_IO_PEPPER_INTERFACE_H_
7 7
8 #include <ppapi/c/pp_bool.h> 8 #include <ppapi/c/pp_bool.h>
9 #include <ppapi/c/pp_completion_callback.h> 9 #include <ppapi/c/pp_completion_callback.h>
10 #include <ppapi/c/pp_errors.h> 10 #include <ppapi/c/pp_errors.h>
11 #include <ppapi/c/pp_file_info.h> 11 #include <ppapi/c/pp_file_info.h>
12 #include <ppapi/c/pp_instance.h> 12 #include <ppapi/c/pp_instance.h>
13 #include <ppapi/c/pp_resource.h> 13 #include <ppapi/c/pp_resource.h>
14 #include <ppapi/c/pp_var.h> 14 #include <ppapi/c/pp_var.h>
15 #include <ppapi/c/ppb_console.h> 15 #include <ppapi/c/ppb_console.h>
16 #include <ppapi/c/ppb_file_io.h> 16 #include <ppapi/c/ppb_file_io.h>
17 #include <ppapi/c/ppb_file_ref.h> 17 #include <ppapi/c/ppb_file_ref.h>
18 #include <ppapi/c/ppb_file_system.h> 18 #include <ppapi/c/ppb_file_system.h>
19 #include <ppapi/c/ppb_host_resolver.h> 19 #include <ppapi/c/ppb_host_resolver.h>
20 #include <ppapi/c/ppb_messaging.h> 20 #include <ppapi/c/ppb_messaging.h>
21 #include <ppapi/c/ppb_messaging.h> 21 #include <ppapi/c/ppb_messaging.h>
22 #include <ppapi/c/ppb_net_address.h> 22 #include <ppapi/c/ppb_net_address.h>
23 #include <ppapi/c/ppb_tcp_socket.h>
23 #include <ppapi/c/ppb_url_loader.h> 24 #include <ppapi/c/ppb_url_loader.h>
24 #include <ppapi/c/ppb_url_request_info.h> 25 #include <ppapi/c/ppb_url_request_info.h>
25 #include <ppapi/c/ppb_url_response_info.h> 26 #include <ppapi/c/ppb_url_response_info.h>
27 #include <ppapi/c/ppb_udp_socket.h>
26 #include <ppapi/c/ppb_var.h> 28 #include <ppapi/c/ppb_var.h>
27 29
28 #include <sdk_util/macros.h> 30 #include <sdk_util/macros.h>
29 31
30 namespace nacl_io { 32 namespace nacl_io {
31 33
32 // Note: To add a new interface: 34 // Note: To add a new interface:
33 // 35 //
34 // 1. Using one of the other interfaces as a template, add your interface to 36 // 1. Using one of the other interfaces as a template, add your interface to
35 // all_interfaces.h. 37 // all_interfaces.h.
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 private: 102 private:
101 PepperInterface* ppapi_; 103 PepperInterface* ppapi_;
102 PP_Resource resource_; 104 PP_Resource resource_;
103 105
104 DISALLOW_COPY_AND_ASSIGN(ScopedResource); 106 DISALLOW_COPY_AND_ASSIGN(ScopedResource);
105 }; 107 };
106 108
107 } // namespace nacl_io 109 } // namespace nacl_io
108 110
109 #endif // LIBRARIES_NACL_IO_PEPPER_INTERFACE_H_ 111 #endif // LIBRARIES_NACL_IO_PEPPER_INTERFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698