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