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

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

Issue 16325024: Move thread_pool.h into utils so it can be shared by more than one example. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 6 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_completion_callback.h> 8 #include <ppapi/c/pp_completion_callback.h>
9 #include <ppapi/c/pp_file_info.h> 9 #include <ppapi/c/pp_file_info.h>
10 #include <ppapi/c/pp_instance.h> 10 #include <ppapi/c/pp_instance.h>
11 #include <ppapi/c/pp_resource.h> 11 #include <ppapi/c/pp_resource.h>
12 #include <ppapi/c/pp_var.h> 12 #include <ppapi/c/pp_var.h>
13 #include <ppapi/c/ppb_console.h> 13 #include <ppapi/c/ppb_console.h>
14 #include <ppapi/c/ppb_file_io.h> 14 #include <ppapi/c/ppb_file_io.h>
15 #include <ppapi/c/ppb_file_ref.h> 15 #include <ppapi/c/ppb_file_ref.h>
16 #include <ppapi/c/ppb_file_system.h> 16 #include <ppapi/c/ppb_file_system.h>
17 #include <ppapi/c/ppb_messaging.h> 17 #include <ppapi/c/ppb_messaging.h>
18 #include <ppapi/c/ppb_messaging.h> 18 #include <ppapi/c/ppb_messaging.h>
19 #include <ppapi/c/ppb_url_loader.h> 19 #include <ppapi/c/ppb_url_loader.h>
20 #include <ppapi/c/ppb_url_request_info.h> 20 #include <ppapi/c/ppb_url_request_info.h>
21 #include <ppapi/c/ppb_url_response_info.h> 21 #include <ppapi/c/ppb_url_response_info.h>
22 #include <ppapi/c/ppb_var.h> 22 #include <ppapi/c/ppb_var.h>
23 23
24 #include <utils/macros.h> 24 #include <sdk_util/macros.h>
25 25
26 // Note: To add a new interface: 26 // Note: To add a new interface:
27 // 27 //
28 // 1. Using one of the other interfaces as a template, add your interface to 28 // 1. Using one of the other interfaces as a template, add your interface to
29 // all_interfaces.h. 29 // all_interfaces.h.
30 // 2. Add the necessary pepper header to the top of this file. 30 // 2. Add the necessary pepper header to the top of this file.
31 // 3. Compile and cross your fingers! 31 // 3. Compile and cross your fingers!
32 32
33 33
34 // Forward declare interface classes. 34 // Forward declare interface classes.
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 PP_Resource Release(); 92 PP_Resource Release();
93 93
94 private: 94 private:
95 PepperInterface* ppapi_; 95 PepperInterface* ppapi_;
96 PP_Resource resource_; 96 PP_Resource resource_;
97 97
98 DISALLOW_COPY_AND_ASSIGN(ScopedResource); 98 DISALLOW_COPY_AND_ASSIGN(ScopedResource);
99 }; 99 };
100 100
101 #endif // LIBRARIES_NACL_IO_PEPPER_INTERFACE_H_ 101 #endif // LIBRARIES_NACL_IO_PEPPER_INTERFACE_H_
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/path.h ('k') | native_client_sdk/src/libraries/ppapi_simple/ps.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698