OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_EXTENSIONS_DEV_ALARMS_DEV_H_ | 5 #ifndef PPAPI_CPP_EXTENSIONS_DEV_ALARMS_DEV_H_ |
6 #define PPAPI_CPP_EXTENSIONS_DEV_ALARMS_DEV_H_ | 6 #define PPAPI_CPP_EXTENSIONS_DEV_ALARMS_DEV_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "ppapi/c/extensions/dev/ppb_alarms_dev.h" | 11 #include "ppapi/c/extensions/dev/ppb_ext_alarms_dev.h" |
12 #include "ppapi/cpp/extensions/dict_field.h" | 12 #include "ppapi/cpp/extensions/dict_field.h" |
13 #include "ppapi/cpp/extensions/event_base.h" | 13 #include "ppapi/cpp/extensions/event_base.h" |
14 #include "ppapi/cpp/extensions/ext_output_traits.h" | 14 #include "ppapi/cpp/extensions/ext_output_traits.h" |
15 #include "ppapi/cpp/instance_handle.h" | 15 #include "ppapi/cpp/instance_handle.h" |
16 #include "ppapi/cpp/var.h" | 16 #include "ppapi/cpp/var.h" |
17 | 17 |
18 namespace pp { | 18 namespace pp { |
19 | 19 |
20 template <class T> | 20 template <class T> |
21 class CompletionCallbackWithOutput; | 21 class CompletionCallbackWithOutput; |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 virtual void Callback(Alarm_Dev& alarm); | 104 virtual void Callback(Alarm_Dev& alarm); |
105 | 105 |
106 Listener* listener_; | 106 Listener* listener_; |
107 }; | 107 }; |
108 | 108 |
109 } // namespace alarms | 109 } // namespace alarms |
110 } // namespace ext | 110 } // namespace ext |
111 } // namespace pp | 111 } // namespace pp |
112 | 112 |
113 #endif // PPAPI_CPP_EXTENSIONS_DEV_ALARMS_DEV_H_ | 113 #endif // PPAPI_CPP_EXTENSIONS_DEV_ALARMS_DEV_H_ |
OLD | NEW |