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 PPAPI_CPP_ARRAY_OUTPUT_H_ | 5 #ifndef PPAPI_CPP_ARRAY_OUTPUT_H_ |
6 #define PPAPI_CPP_ARRAY_OUTPUT_H_ | 6 #define PPAPI_CPP_ARRAY_OUTPUT_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
8 #include <vector> | 11 #include <vector> |
9 | 12 |
10 #include "ppapi/c/pp_array_output.h" | 13 #include "ppapi/c/pp_array_output.h" |
11 #include "ppapi/c/pp_resource.h" | 14 #include "ppapi/c/pp_resource.h" |
12 #include "ppapi/cpp/logging.h" | 15 #include "ppapi/cpp/logging.h" |
13 #include "ppapi/cpp/pass_ref.h" | 16 #include "ppapi/cpp/pass_ref.h" |
14 #include "ppapi/cpp/var.h" | 17 #include "ppapi/cpp/var.h" |
15 | 18 |
16 namespace pp { | 19 namespace pp { |
17 | 20 |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 std::vector<PP_Resource> temp_storage_; | 266 std::vector<PP_Resource> temp_storage_; |
264 | 267 |
265 // When asked for the output, the resources above will be converted to the | 268 // When asked for the output, the resources above will be converted to the |
266 // C++ resource objects in this array for passing to the calling code. | 269 // C++ resource objects in this array for passing to the calling code. |
267 std::vector<T> output_storage_; | 270 std::vector<T> output_storage_; |
268 }; | 271 }; |
269 | 272 |
270 } // namespace pp | 273 } // namespace pp |
271 | 274 |
272 #endif // PPAPI_CPP_ARRAY_OUTPUT_H_ | 275 #endif // PPAPI_CPP_ARRAY_OUTPUT_H_ |
OLD | NEW |