OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_PROXY_CALLBACK_TRACKER_H_ | 5 #ifndef PPAPI_PROXY_CALLBACK_TRACKER_H_ |
6 #define PPAPI_PROXY_CALLBACK_TRACKER_H_ | 6 #define PPAPI_PROXY_CALLBACK_TRACKER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "ppapi/c/pp_completion_callback.h" | 10 #include "ppapi/c/pp_completion_callback.h" |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 57 |
58 // Maps callback IDs to the actual callback objects in the plugin process. | 58 // Maps callback IDs to the actual callback objects in the plugin process. |
59 typedef std::map<int32_t, PP_CompletionCallback> CallbackMap; | 59 typedef std::map<int32_t, PP_CompletionCallback> CallbackMap; |
60 CallbackMap callback_map_; | 60 CallbackMap callback_map_; |
61 }; | 61 }; |
62 | 62 |
63 } // namespace proxy | 63 } // namespace proxy |
64 } // namespace ppapi | 64 } // namespace ppapi |
65 | 65 |
66 #endif // PPAPI_PROXY_CALLBACK_TRACKER_H_ | 66 #endif // PPAPI_PROXY_CALLBACK_TRACKER_H_ |
OLD | NEW |