OLD | NEW |
1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2011 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 #ifndef PPAPI_C_PPB_BROKER_TRUSTED_H_ | 5 #ifndef PPAPI_C_PPB_BROKER_TRUSTED_H_ |
6 #define PPAPI_C_PPB_BROKER_TRUSTED_H_ | 6 #define PPAPI_C_PPB_BROKER_TRUSTED_H_ |
7 | 7 |
8 #include "ppapi/c/pp_completion_callback.h" | 8 #include "ppapi/c/pp_completion_callback.h" |
9 #include "ppapi/c/pp_bool.h" | 9 #include "ppapi/c/pp_bool.h" |
10 #include "ppapi/c/pp_instance.h" | 10 #include "ppapi/c/pp_instance.h" |
11 #include "ppapi/c/pp_resource.h" | 11 #include "ppapi/c/pp_resource.h" |
12 | 12 |
13 #define PPB_BROKER_TRUSTED_INTERFACE "PPB_BrokerTrusted;0.1" | 13 #define PPB_BROKER_TRUSTED_INTERFACE "PPB_BrokerTrusted;0.2" |
14 | 14 |
15 /** | 15 /** |
16 * @file | 16 * @file |
17 * This file defines the PPB_BrokerTrusted interface, which provides | 17 * This file defines the PPB_BrokerTrusted interface, which provides |
18 * access to a trusted broker with greater privileges than the plugin. | 18 * access to a trusted broker with greater privileges than the plugin. |
19 */ | 19 */ |
20 | 20 |
21 /** | 21 /** |
22 * @addtogroup Interfaces | 22 * @addtogroup Interfaces |
23 * @{ | 23 * @{ |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 * parameter. The handle is only set when returning PP_OK. Calling this | 70 * parameter. The handle is only set when returning PP_OK. Calling this |
71 * before connect has completed will return PP_ERROR_FAILED. | 71 * before connect has completed will return PP_ERROR_FAILED. |
72 */ | 72 */ |
73 int32_t (*GetHandle)(PP_Resource broker, int32_t* handle); | 73 int32_t (*GetHandle)(PP_Resource broker, int32_t* handle); |
74 }; | 74 }; |
75 /** | 75 /** |
76 * @} | 76 * @} |
77 */ | 77 */ |
78 | 78 |
79 #endif /* PPAPI_C_PPB_BROKER_TRUSTED_H_ */ | 79 #endif /* PPAPI_C_PPB_BROKER_TRUSTED_H_ */ |
OLD | NEW |