Ejemplo n.º 1
0
 /**
  * SetProperty() sets a request property. The value of the property must be
  * the correct type according to the property being set.
  *
  * @param[in] request A <code>PP_Resource</code> corresponding to a
  * <code>URLRequestInfo</code>.
  * @param[in] property A <code>PP_URLRequestProperty</code> identifying the
  * property to set.
  * @param[in] value A <code>PP_Var</code> containing the property value.
  *
  * @return <code>PP_TRUE</code> if successful, <code>PP_FALSE</code> if any
  * of the parameters are invalid.
  */
 public static PPBool SetProperty(PPResource request,
                                  PPURLRequestProperty property,
                                  PPVar value)
 {
     return(_SetProperty(request, property, value));
 }
Ejemplo n.º 2
0
 extern static PPBool _SetProperty(PPResource request,
                                   PPURLRequestProperty property,
                                   PPVar value);