OLD | NEW |
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/dev/ppb_directory_reader_dev.h> | |
9 #include <ppapi/c/pp_completion_callback.h> | 8 #include <ppapi/c/pp_completion_callback.h> |
10 #include <ppapi/c/pp_file_info.h> | 9 #include <ppapi/c/pp_file_info.h> |
11 #include <ppapi/c/pp_instance.h> | 10 #include <ppapi/c/pp_instance.h> |
12 #include <ppapi/c/pp_resource.h> | 11 #include <ppapi/c/pp_resource.h> |
13 #include <ppapi/c/pp_var.h> | 12 #include <ppapi/c/pp_var.h> |
14 #include <ppapi/c/ppb_console.h> | 13 #include <ppapi/c/ppb_console.h> |
15 #include <ppapi/c/ppb_file_io.h> | 14 #include <ppapi/c/ppb_file_io.h> |
16 #include <ppapi/c/ppb_file_ref.h> | 15 #include <ppapi/c/ppb_file_ref.h> |
17 #include <ppapi/c/ppb_file_system.h> | 16 #include <ppapi/c/ppb_file_system.h> |
18 #include <ppapi/c/ppb_messaging.h> | 17 #include <ppapi/c/ppb_messaging.h> |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 PP_Resource Release(); | 92 PP_Resource Release(); |
94 | 93 |
95 private: | 94 private: |
96 PepperInterface* ppapi_; | 95 PepperInterface* ppapi_; |
97 PP_Resource resource_; | 96 PP_Resource resource_; |
98 | 97 |
99 DISALLOW_COPY_AND_ASSIGN(ScopedResource); | 98 DISALLOW_COPY_AND_ASSIGN(ScopedResource); |
100 }; | 99 }; |
101 | 100 |
102 #endif // LIBRARIES_NACL_IO_PEPPER_INTERFACE_H_ | 101 #endif // LIBRARIES_NACL_IO_PEPPER_INTERFACE_H_ |
OLD | NEW |