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 | 5 |
6 /** | 6 /** |
7 * This file contains the <code>PPB_Flash_DeviceID</code> interface. | 7 * This file contains the <code>PPB_Flash_DRM</code> interface. |
8 */ | 8 */ |
9 | 9 |
10 [generate_thunk] | 10 [generate_thunk] |
11 | 11 |
12 label Chrome { | 12 label Chrome { |
13 M21 = 1.0 | 13 M29 = 1.0 |
14 }; | 14 }; |
15 | 15 |
16 interface PPB_Flash_DeviceID { | 16 /** |
17 * A resource for performing Flash DRM-related operations. | |
18 */ | |
19 interface PPB_Flash_DRM { | |
20 /** | |
21 * Create a PPB_Flash_DRM resource for performing DRM-related operations in | |
yzshen1
2013/05/21 06:32:31
Create -> Creates
raymes
2013/05/21 16:32:51
Done.
| |
22 * Flash. | |
23 */ | |
17 PP_Resource Create([in] PP_Instance instance); | 24 PP_Resource Create([in] PP_Instance instance); |
18 | 25 |
19 /** | 26 /** |
20 * Asynchronously computes the device ID. When available, it will place the | 27 * Asynchronously computes the device ID. When available, it will place the |
21 * string in |*id| and will call the completion callback. On failure the | 28 * string in |*id| and will call the completion callback. On failure the |
22 * given var will be PP_VARTYPE_UNDEFINED. | 29 * given var will be PP_VARTYPE_UNDEFINED. |
23 */ | 30 */ |
24 int32_t GetDeviceID([in] PP_Resource device_id, | 31 int32_t GetDeviceID([in] PP_Resource drm, |
25 [out] PP_Var id, | 32 [out] PP_Var id, |
26 [in] PP_CompletionCallback callback); | 33 [in] PP_CompletionCallback callback); |
27 }; | 34 }; |
28 | 35 |
OLD | NEW |