Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / ppapi / api / private / ppb_flash_device_id.idl
blobb4ba3ca935c8bc23a3c553550a06d7f7d1239a75
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 */
6 /**
7 * This file contains the <code>PPB_Flash_DeviceID</code> interface.
8 */
10 label Chrome {
11 M21 = 1.0
14 // TODO(raymes): This is deprecated by the PPB_Flash_DRM interface. Remove this
15 // interface after a few versions of Chrome have passed.
16 interface PPB_Flash_DeviceID {
17 PP_Resource Create([in] PP_Instance instance);
19 /**
20 * Asynchronously computes the device ID. When available, it will place the
21 * string in |*id| and will call the completion callback. On failure the
22 * given var will be PP_VARTYPE_UNDEFINED.
24 [version=1.0]
25 int32_t GetDeviceID([in] PP_Resource device_id,
26 [out] PP_Var id,
27 [in] PP_CompletionCallback callback);