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_DEV_FILE_CHOOSER_DEV_H_ | 5 #ifndef PPAPI_CPP_DEV_FILE_CHOOSER_DEV_H_ |
6 #define PPAPI_CPP_DEV_FILE_CHOOSER_DEV_H_ | 6 #define PPAPI_CPP_DEV_FILE_CHOOSER_DEV_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "ppapi/c/dev/ppb_file_chooser_dev.h" | 12 #include "ppapi/c/dev/ppb_file_chooser_dev.h" |
11 #include "ppapi/cpp/completion_callback.h" | 13 #include "ppapi/cpp/completion_callback.h" |
12 #include "ppapi/cpp/file_ref.h" | 14 #include "ppapi/cpp/file_ref.h" |
13 #include "ppapi/cpp/resource.h" | 15 #include "ppapi/cpp/resource.h" |
14 | 16 |
15 namespace pp { | 17 namespace pp { |
16 | 18 |
17 class CompletionCallback; | 19 class CompletionCallback; |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 // the caller is expecting. | 93 // the caller is expecting. |
92 // | 94 // |
93 // This takes a heap-allocated ChooseCallbackData0_5 struct passed as the | 95 // This takes a heap-allocated ChooseCallbackData0_5 struct passed as the |
94 // user data and deletes it when the call completes. | 96 // user data and deletes it when the call completes. |
95 static void CallbackConverter(void* user_data, int32_t result); | 97 static void CallbackConverter(void* user_data, int32_t result); |
96 }; | 98 }; |
97 | 99 |
98 } // namespace pp | 100 } // namespace pp |
99 | 101 |
100 #endif // PPAPI_CPP_DEV_FILE_CHOOSER_DEV_H_ | 102 #endif // PPAPI_CPP_DEV_FILE_CHOOSER_DEV_H_ |
OLD | NEW |