| 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 "base/memory/ref_counted.h" | 5 #include "base/memory/ref_counted.h" |
| 6 #include "ppapi/c/private/ppb_flash_drm.h" |
| 6 #include "ppapi/thunk/ppapi_thunk_export.h" | 7 #include "ppapi/thunk/ppapi_thunk_export.h" |
| 7 | 8 |
| 8 namespace ppapi { | 9 namespace ppapi { |
| 9 | 10 |
| 10 class TrackedCallback; | 11 class TrackedCallback; |
| 11 | 12 |
| 12 namespace thunk { | 13 namespace thunk { |
| 13 | 14 |
| 14 class PPAPI_THUNK_EXPORT PPB_Flash_DeviceID_API { | 15 class PPAPI_THUNK_EXPORT PPB_Flash_DRM_API { |
| 15 public: | 16 public: |
| 16 virtual ~PPB_Flash_DeviceID_API() {} | 17 virtual ~PPB_Flash_DRM_API() {} |
| 17 | 18 |
| 18 virtual int32_t GetDeviceID(PP_Var* id, | 19 virtual int32_t GetDeviceID(PP_Var* id, |
| 19 scoped_refptr<TrackedCallback> callback) = 0; | 20 scoped_refptr<TrackedCallback> callback) = 0; |
| 20 }; | 21 }; |
| 21 | 22 |
| 22 } // namespace thunk | 23 } // namespace thunk |
| 23 } // namespace ppapi | 24 } // namespace ppapi |
| 24 | 25 |
| OLD | NEW |