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 #include <stdint.h> |
| 6 |
5 #include "base/memory/ref_counted.h" | 7 #include "base/memory/ref_counted.h" |
6 #include "ppapi/thunk/ppapi_thunk_export.h" | 8 #include "ppapi/thunk/ppapi_thunk_export.h" |
7 | 9 |
8 namespace ppapi { | 10 namespace ppapi { |
9 | 11 |
10 class TrackedCallback; | 12 class TrackedCallback; |
11 | 13 |
12 namespace thunk { | 14 namespace thunk { |
13 | 15 |
14 class PPAPI_THUNK_EXPORT PPB_Flash_DRM_API { | 16 class PPAPI_THUNK_EXPORT PPB_Flash_DRM_API { |
15 public: | 17 public: |
16 virtual ~PPB_Flash_DRM_API() {} | 18 virtual ~PPB_Flash_DRM_API() {} |
17 | 19 |
18 virtual int32_t GetDeviceID(PP_Var* id, | 20 virtual int32_t GetDeviceID(PP_Var* id, |
19 scoped_refptr<TrackedCallback> callback) = 0; | 21 scoped_refptr<TrackedCallback> callback) = 0; |
20 virtual PP_Bool GetHmonitor(int64_t* hmonitor) = 0; | 22 virtual PP_Bool GetHmonitor(int64_t* hmonitor) = 0; |
21 virtual int32_t GetVoucherFile(PP_Resource* file_ref, | 23 virtual int32_t GetVoucherFile(PP_Resource* file_ref, |
22 scoped_refptr<TrackedCallback> callback) = 0; | 24 scoped_refptr<TrackedCallback> callback) = 0; |
23 virtual int32_t MonitorIsExternal( | 25 virtual int32_t MonitorIsExternal( |
24 PP_Bool* is_external, | 26 PP_Bool* is_external, |
25 scoped_refptr<TrackedCallback> callback) = 0; | 27 scoped_refptr<TrackedCallback> callback) = 0; |
26 }; | 28 }; |
27 | 29 |
28 } // namespace thunk | 30 } // namespace thunk |
29 } // namespace ppapi | 31 } // namespace ppapi |
30 | 32 |
OLD | NEW |