| OLD | NEW |
| (Empty) |
| 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 | |
| 3 * found in the LICENSE file. | |
| 4 */ | |
| 5 | |
| 6 /* From dev/ppp_policy_update_dev.idl modified Tue Oct 4 09:58:59 2011. */ | |
| 7 | |
| 8 #ifndef PPAPI_C_DEV_PPP_POLICY_UPDATE_DEV_H_ | |
| 9 #define PPAPI_C_DEV_PPP_POLICY_UPDATE_DEV_H_ | |
| 10 | |
| 11 #include "ppapi/c/pp_bool.h" | |
| 12 #include "ppapi/c/pp_instance.h" | |
| 13 #include "ppapi/c/pp_macros.h" | |
| 14 #include "ppapi/c/pp_stdint.h" | |
| 15 #include "ppapi/c/pp_var.h" | |
| 16 | |
| 17 #define PPP_POLICYUPDATE_DEV_INTERFACE_0_1 "PPP_PolicyUpdate(Dev);0.1" | |
| 18 #define PPP_POLICYUPDATE_DEV_INTERFACE PPP_POLICYUPDATE_DEV_INTERFACE_0_1 | |
| 19 | |
| 20 /** | |
| 21 * @file | |
| 22 * This file defines the <code>PPP_PolicyUpdate_Dev</code> interface. | |
| 23 */ | |
| 24 | |
| 25 | |
| 26 /** | |
| 27 * @addtogroup Interfaces | |
| 28 * @{ | |
| 29 */ | |
| 30 struct PPP_PolicyUpdate_Dev { | |
| 31 /** | |
| 32 * Signals that the policy has been updated, and provides it via a JSON | |
| 33 * string. | |
| 34 * | |
| 35 * @param[in] instance A <code>PP_Instance</code> indentifying one instance | |
| 36 * of a module. | |
| 37 * @param[in] A <code>PP_Var</code> with a JSON string representing the | |
| 38 * encoded policy. | |
| 39 */ | |
| 40 void (*PolicyUpdated)(PP_Instance instance, struct PP_Var policy_json); | |
| 41 }; | |
| 42 /** | |
| 43 * @} | |
| 44 */ | |
| 45 | |
| 46 #endif /* PPAPI_C_DEV_PPP_POLICY_UPDATE_DEV_H_ */ | |
| 47 | |
| OLD | NEW |