Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Side by Side Diff: ppapi/api/private/ppb_flash_device_id.idl

Issue 15491006: Rename PPB_Flash_DeviceID interface to PPB_Flash_DRM (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_DeviceID</code> interface.
8 */ 8 */
9 9
10 [generate_thunk]
11
12 label Chrome { 10 label Chrome {
13 M21 = 1.0 11 M21 = 1.0,
12 M29 = 1.1
14 }; 13 };
15 14
15 // TODO(raymes): This is deprecated by the PPB_Flash_DRM interface. Remove this
16 // interface after a few versions of Chrome have passed.
16 interface PPB_Flash_DeviceID { 17 interface PPB_Flash_DeviceID {
17 PP_Resource Create([in] PP_Instance instance); 18 PP_Resource Create([in] PP_Instance instance);
18 19
19 /** 20 /**
20 * Asynchronously computes the device ID. When available, it will place the 21 * 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 * string in |*id| and will call the completion callback. On failure the
22 * given var will be PP_VARTYPE_UNDEFINED. 23 * given var will be PP_VARTYPE_UNDEFINED.
23 */ 24 */
25 [version=1.0, deprecate=1.1]
yzshen1 2013/05/21 06:32:31 I don't see why this (and line 12) is necessary. I
raymes 2013/05/21 16:32:51 No, I did this more for documentation. And if some
yzshen1 2013/05/21 16:48:45 As long as you will remove this file entirely late
24 int32_t GetDeviceID([in] PP_Resource device_id, 26 int32_t GetDeviceID([in] PP_Resource device_id,
25 [out] PP_Var id, 27 [out] PP_Var id,
26 [in] PP_CompletionCallback callback); 28 [in] PP_CompletionCallback callback);
27 }; 29 };
28 30
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698