AppleOpenSource/WebKit2-7609.3.5.1.3/UIProcess/API/glib/WebKitResponsePolicyDecision.cpp
/**
 * webkit_response_policy_decision_get_request:
 * @decision: a #WebKitResponsePolicyDecision
 *
 * Return the #WebKitURIRequest associated with the response decision.
 * Modifications to the returned object are <emphasis>not</emphasis> taken
 * into account when the request is sent over the network, and is intended
 * only to aid in evaluating whether a response decision should be taken or
 * not. To modify requests before they are sent over the network the
 * #WebKitPage::send-request signal can be used instead.
 *
 * Returns: (transfer none): The URI request that is associated with this policy decision.
 */


Return the #WebKitURIRequest associated with the response decision.
Modifications to the returned object are not taken
into account when the request is sent over the network, and is intended
only to aid in evaluating whether a response decision should be taken or
not. To modify requests before they are sent over the network the
#WebKitPage::send-request signal can be used instead.

(transfer none): The URI request that is associated with this policy decision.
Return the #WebKitURIRequest associated with the response decision . Modifications to the returned object are not taken into account when the request is sent over the network and is intended only to aid in evaluating whether a response decision should be taken or not . To modify requests before they are sent over the network the #WebKitPage :: send - request signal can be used instead . ( transfer none ) : The URI request that is associated with this policy decision .
WebKitURIRequest* webkit_response_policy_decision_get_request(WebKitResponsePolicyDecision* decision)
{
    g_return_val_if_fail(WEBKIT_IS_RESPONSE_POLICY_DECISION(decision), nullptr);
    if (!decision->priv->request)
        decision->priv->request = adoptGRef(webkitURIRequestCreateForResourceRequest(decision->priv->navigationResponse->request()));
    return decision->priv->request.get();
}
WebKitURIRequest * webkit_response_policy_decision_get_request ( WebKitResponsePolicyDecision * decision ) { g_return_val_if_fail ( WEBKIT_IS_RESPONSE_POLICY_DECISION ( decision ) , nullptr ) ; if ( ! decision -> priv -> request ) decision -> priv -> request = adoptGRef ( webkitURIRequestCreateForResourceRequest ( decision -> priv -> navigationResponse -> request ( ) ) ) ; return decision -> priv -> request . get ( ) ; }
webkit_response_policy_decision_get_request:
 @decision: a #WebKitResponsePolicyDecision
webkit_response_policy_decision_get_request : @decision : a #WebKitResponsePolicyDecision