Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
ppb_broker_trusted.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 trusted/ppb_broker_trusted.idl modified Thu Oct 20 13:57:04 2016. */
7 
8 #ifndef PPAPI_C_TRUSTED_PPB_BROKER_TRUSTED_H_
9 #define PPAPI_C_TRUSTED_PPB_BROKER_TRUSTED_H_
10 
11 #include "ppapi/c/pp_bool.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 
18 #define PPB_BROKER_TRUSTED_INTERFACE_0_2 "PPB_BrokerTrusted;0.2"
19 #define PPB_BROKER_TRUSTED_INTERFACE_0_3 "PPB_BrokerTrusted;0.3"
20 #define PPB_BROKER_TRUSTED_INTERFACE PPB_BROKER_TRUSTED_INTERFACE_0_3
21 
67  int32_t (*Connect)(PP_Resource broker,
68  struct PP_CompletionCallback connect_callback);
77  int32_t (*GetHandle)(PP_Resource broker, int32_t* handle);
87 };
88 
90 
92  PP_Resource (*CreateTrusted)(PP_Instance instance);
93  PP_Bool (*IsBrokerTrusted)(PP_Resource resource);
94  int32_t (*Connect)(PP_Resource broker,
95  struct PP_CompletionCallback connect_callback);
96  int32_t (*GetHandle)(PP_Resource broker, int32_t* handle);
97 };
102 #endif /* PPAPI_C_TRUSTED_PPB_BROKER_TRUSTED_H_ */
103 
PP_Bool(* IsAllowed)(PP_Resource broker)
Definition: ppb_broker_trusted.h:86
int32_t(* GetHandle)(PP_Resource broker, int32_t *handle)
Definition: ppb_broker_trusted.h:77
int32_t PP_Resource
Definition: pp_resource.h:40
int32_t(* Connect)(PP_Resource broker, struct PP_CompletionCallback connect_callback)
Definition: ppb_broker_trusted.h:67
int32_t PP_Instance
Definition: pp_instance.h:34
PP_Bool
Definition: pp_bool.h:30
Definition: ppb_broker_trusted.h:44
PP_Bool(* IsBrokerTrusted)(PP_Resource resource)
Definition: ppb_broker_trusted.h:52
Definition: ppb_broker_trusted.h:91
Definition: pp_completion_callback.h:139
PP_Resource(* CreateTrusted)(PP_Instance instance)
Definition: ppb_broker_trusted.h:48