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_FILE_IO_H_ | 5 #ifndef PPAPI_CPP_FILE_IO_H_ |
6 #define PPAPI_CPP_FILE_IO_H_ | 6 #define PPAPI_CPP_FILE_IO_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "ppapi/c/pp_time.h" | 10 #include "ppapi/c/pp_time.h" |
9 #include "ppapi/cpp/completion_callback.h" | 11 #include "ppapi/cpp/completion_callback.h" |
10 #include "ppapi/cpp/resource.h" | 12 #include "ppapi/cpp/resource.h" |
11 | 13 |
12 /// @file | 14 /// @file |
13 /// This file defines the API to create a file i/o object. | 15 /// This file defines the API to create a file i/o object. |
14 | 16 |
15 struct PP_FileInfo; | 17 struct PP_FileInfo; |
16 | 18 |
17 namespace pp { | 19 namespace pp { |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 // interface in 1.1. | 240 // interface in 1.1. |
239 // | 241 // |
240 // This takes a heap-allocated CallbackData1_0 struct passed as the user data | 242 // This takes a heap-allocated CallbackData1_0 struct passed as the user data |
241 // and deletes it when the call completes. | 243 // and deletes it when the call completes. |
242 static void CallbackConverter(void* user_data, int32_t result); | 244 static void CallbackConverter(void* user_data, int32_t result); |
243 }; | 245 }; |
244 | 246 |
245 } // namespace pp | 247 } // namespace pp |
246 | 248 |
247 #endif // PPAPI_CPP_FILE_IO_H_ | 249 #endif // PPAPI_CPP_FILE_IO_H_ |
OLD | NEW |