AppleOpenSource/WebKit2-7609.3.5.1.3/UIProcess/API/glib/WebKitBackForwardListItem.cpp
/**
 * webkit_back_forward_list_item_get_uri:
 * @list_item: a #WebKitBackForwardListItem
 *
 * This URI may differ from the original URI if the page was,
 * for example, redirected to a new location.
 * See also webkit_back_forward_list_item_get_original_uri().
 *
 * Returns: the URI of @list_item or %NULL
 *    when the URI is empty.
 */


This URI may differ from the original URI if the page was,
for example, redirected to a new location.

the URI of @list_item or %NULL
when the URI is empty.
This URI may differ from the original URI if the page was for example redirected to a new location . the URI of @list_item or %NULL when the URI is empty .
const gchar* webkit_back_forward_list_item_get_uri(WebKitBackForwardListItem* listItem)
{
    g_return_val_if_fail(WEBKIT_IS_BACK_FORWARD_LIST_ITEM(listItem), 0);
    WebKitBackForwardListItemPrivate* priv = listItem->priv;
    String url = priv->webListItem->url();
    if (url.isEmpty())
        return 0;
    priv->uri = url.utf8();
    return priv->uri.data();
}
const gchar * webkit_back_forward_list_item_get_uri ( WebKitBackForwardListItem * listItem ) { g_return_val_if_fail ( WEBKIT_IS_BACK_FORWARD_LIST_ITEM ( listItem ) , 0 ) ; WebKitBackForwardListItemPrivate * priv = listItem -> priv ; String url = priv -> webListItem -> url ( ) ; if ( url . isEmpty ( ) ) return 0 ; priv -> uri = url . utf8 ( ) ; return priv -> uri . data ( ) ; }
webkit_back_forward_list_item_get_uri:
 @list_item: a #WebKitBackForwardListItem
webkit_back_forward_list_item_get_uri : @list_item : a #WebKitBackForwardListItem