AppleOpenSource/WebKit2-7609.3.5.1.3/UIProcess/API/glib/WebKitResponsePolicyDecision.cpp
/**
 * webkit_response_policy_decision_get_response:
 * @decision: a #WebKitResponsePolicyDecision
 *
 * Gets the value of the #WebKitResponsePolicyDecision:response property.
 *
 * Returns: (transfer none): The URI response that is associated with this policy decision.
 */


Gets the value of the #WebKitResponsePolicyDecision:response property.

(transfer none): The URI response that is associated with this policy decision.
Gets the value of the #WebKitResponsePolicyDecision : response property . ( transfer none ) : The URI response that is associated with this policy decision .
WebKitURIResponse* webkit_response_policy_decision_get_response(WebKitResponsePolicyDecision* decision)
{
    g_return_val_if_fail(WEBKIT_IS_RESPONSE_POLICY_DECISION(decision), nullptr);
    if (!decision->priv->response)
        decision->priv->response = adoptGRef(webkitURIResponseCreateForResourceResponse(decision->priv->navigationResponse->response()));
    return decision->priv->response.get();
}
WebKitURIResponse * webkit_response_policy_decision_get_response ( WebKitResponsePolicyDecision * decision ) { g_return_val_if_fail ( WEBKIT_IS_RESPONSE_POLICY_DECISION ( decision ) , nullptr ) ; if ( ! decision -> priv -> response ) decision -> priv -> response = adoptGRef ( webkitURIResponseCreateForResourceResponse ( decision -> priv -> navigationResponse -> response ( ) ) ) ; return decision -> priv -> response . get ( ) ; }
webkit_response_policy_decision_get_response:
 @decision: a #WebKitResponsePolicyDecision
webkit_response_policy_decision_get_response : @decision : a #WebKitResponsePolicyDecision