Pepper_47_C_interfaces
Main Page
Modules
Classes
Files
File List
File Members
private
ppb_flash_device_id.h
Go to the documentation of this file.
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
/* From private/ppb_flash_device_id.idl modified Thu Oct 20 13:57:04 2016. */
7
8
#ifndef PPAPI_C_PRIVATE_PPB_FLASH_DEVICE_ID_H_
9
#define PPAPI_C_PRIVATE_PPB_FLASH_DEVICE_ID_H_
10
11
#include "
ppapi/c/pp_bool.h
"
12
#include "
ppapi/c/pp_completion_callback.h
"
13
#include "
ppapi/c/pp_instance.h
"
14
#include "
ppapi/c/pp_macros.h
"
15
#include "
ppapi/c/pp_resource.h
"
16
#include "
ppapi/c/pp_stdint.h
"
17
#include "
ppapi/c/pp_var.h
"
18
19
#define PPB_FLASH_DEVICEID_INTERFACE_1_0 "PPB_Flash_DeviceID;1.0"
20
#define PPB_FLASH_DEVICEID_INTERFACE PPB_FLASH_DEVICEID_INTERFACE_1_0
21
22
/**
23
* @file
24
* This file contains the <code>PPB_Flash_DeviceID</code> interface.
25
*/
26
27
28
/**
29
* @addtogroup Interfaces
30
* @{
31
*/
32
/* TODO(raymes): This is deprecated by the PPB_Flash_DRM interface. Remove this
33
* interface after a few versions of Chrome have passed. */
34
struct
PPB_Flash_DeviceID_1_0
{
35
PP_Resource
(*
Create
)(
PP_Instance
instance);
36
/**
37
* Asynchronously computes the device ID. When available, it will place the
38
* string in |*id| and will call the completion callback. On failure the
39
* given var will be PP_VARTYPE_UNDEFINED.
40
*/
41
int32_t (*
GetDeviceID
)(
PP_Resource
device_id,
42
struct
PP_Var
* id,
43
struct
PP_CompletionCallback
callback);
44
};
45
46
typedef
struct
PPB_Flash_DeviceID_1_0
PPB_Flash_DeviceID
;
47
/**
48
* @}
49
*/
50
51
#endif
/* PPAPI_C_PRIVATE_PPB_FLASH_DEVICE_ID_H_ */
52
pp_macros.h
pp_bool.h
pp_instance.h
PP_Resource
int32_t PP_Resource
Definition:
pp_resource.h:40
pp_completion_callback.h
pp_resource.h
PP_Var
Definition:
pp_var.h:166
pp_stdint.h
pp_var.h
PP_Instance
int32_t PP_Instance
Definition:
pp_instance.h:34
PPB_Flash_DeviceID_1_0
Definition:
ppb_flash_device_id.h:34
PPB_Flash_DeviceID_1_0::GetDeviceID
int32_t(* GetDeviceID)(PP_Resource device_id, struct PP_Var *id, struct PP_CompletionCallback callback)
Definition:
ppb_flash_device_id.h:41
PPB_Flash_DeviceID_1_0::Create
PP_Resource(* Create)(PP_Instance instance)
Definition:
ppb_flash_device_id.h:35
PP_CompletionCallback
Definition:
pp_completion_callback.h:139
Generated on Wed Apr 5 2017 11:09:17 for Pepper_47_C_interfaces by
1.8.6