OLD | NEW |
(Empty) | |
| 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 |
| 3 * found in the LICENSE file. |
| 4 */ |
| 5 |
| 6 /** |
| 7 * This file contains the <code>PPB_Flash_DeviceID</code> interface. |
| 8 */ |
| 9 |
| 10 label Chrome { |
| 11 M21 = 1.0 |
| 12 }; |
| 13 |
| 14 interface PPB_Flash_DeviceID { |
| 15 PP_Resource Create([in] PP_Instance instance); |
| 16 |
| 17 /** |
| 18 * Asynchronously computes the device ID. When available, it will place the |
| 19 * string in |*id| and will call the completion callback. On failure the |
| 20 * given var will be PP_VARTYPE_UNDEFINED. |
| 21 */ |
| 22 int32_t GetDeviceID([in] PP_Resource device_id, |
| 23 [out] PP_Var id, |
| 24 [in] PP_CompletionCallback callback); |
| 25 }; |
| 26 |
OLD | NEW |