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

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

Issue 137853023: [NaCl SDK] nacl_io: Add new fakes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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_core.h> 16 #include <ppapi/c/ppb_core.h>
17 #include <ppapi/c/ppb_file_io.h> 17 #include <ppapi/c/ppb_file_io.h>
18 #include <ppapi/c/ppb_file_ref.h> 18 #include <ppapi/c/ppb_file_ref.h>
19 #include <ppapi/c/ppb_file_system.h> 19 #include <ppapi/c/ppb_file_system.h>
20 #include <ppapi/c/ppb_host_resolver.h> 20 #include <ppapi/c/ppb_host_resolver.h>
21 #include <ppapi/c/ppb_messaging.h> 21 #include <ppapi/c/ppb_messaging.h>
22 #include <ppapi/c/ppb_messaging.h> 22 #include <ppapi/c/ppb_messaging.h>
23 #include <ppapi/c/ppb_net_address.h> 23 #include <ppapi/c/ppb_net_address.h>
24 #include <ppapi/c/ppb_tcp_socket.h> 24 #include <ppapi/c/ppb_tcp_socket.h>
25 #include <ppapi/c/ppb_url_loader.h> 25 #include <ppapi/c/ppb_url_loader.h>
26 #include <ppapi/c/ppb_url_request_info.h> 26 #include <ppapi/c/ppb_url_request_info.h>
27 #include <ppapi/c/ppb_url_response_info.h> 27 #include <ppapi/c/ppb_url_response_info.h>
28 #include <ppapi/c/ppb_udp_socket.h> 28 #include <ppapi/c/ppb_udp_socket.h>
29 #include <ppapi/c/ppb_var.h> 29 #include <ppapi/c/ppb_var.h>
30 #include <ppapi/c/ppb_var_array.h>
31 #include <ppapi/c/ppb_var_array_buffer.h>
30 32
31 #include <sdk_util/macros.h> 33 #include <sdk_util/macros.h>
32 34
33 namespace nacl_io { 35 namespace nacl_io {
34 36
35 // This class is the base interface for Pepper used by nacl_io. 37 // This class is the base interface for Pepper used by nacl_io.
36 // 38 //
37 // We use #include and macro magic to simplify adding new interfaces. The 39 // We use #include and macro magic to simplify adding new interfaces. The
38 // resulting PepperInterface basically looks like this: 40 // resulting PepperInterface basically looks like this:
39 // 41 //
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 private: 149 private:
148 PepperInterface* ppapi_; 150 PepperInterface* ppapi_;
149 PP_Resource resource_; 151 PP_Resource resource_;
150 152
151 DISALLOW_COPY_AND_ASSIGN(ScopedResource); 153 DISALLOW_COPY_AND_ASSIGN(ScopedResource);
152 }; 154 };
153 155
154 } // namespace nacl_io 156 } // namespace nacl_io
155 157
156 #endif // LIBRARIES_NACL_IO_PEPPER_INTERFACE_H_ 158 #endif // LIBRARIES_NACL_IO_PEPPER_INTERFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698