Skip to content
  • philn@webkit.org's avatar
    [GTK][EFL] Remove deprecated libsoup API usage · c5331afd
    philn@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=104894
    
    Patch by Manuel Rego Casasnovas <rego@igalia.com> on 2013-04-16
    Reviewed by Philippe Normand.
    
    Source/WebCore:
    
    Based on a patch by Claudio Saavedra <csaavedra@igalia.com>.
    Remove LIBSOUP_USE_UNSTABLE_REQUEST_API and only include
    libsoup/soup.h.
    
    * platform/network/ResourceHandleInternal.h:
    * platform/network/soup/GOwnPtrSoup.cpp:
    * platform/network/soup/ProxyResolverSoup.h:
    * platform/network/soup/ResourceErrorSoup.cpp:
    * platform/network/soup/ResourceHandleSoup.cpp:
    (WebCore::ensureSessionIsInitialized): No need to add the requester
    feature.
    (WebCore::createSoupRequestAndMessageForHandle): SoupSession has a
    requester API, use it.
    
    Source/WebKit/efl:
    
    Remove LIBSOUP_USE_UNSTABLE_REQUEST_API and only include
    libsoup/soup.h.
    
    Source/WebKit2:
    
    Remove LIBSOUP_USE_UNSTABLE_REQUEST_API and only include
    libsoup/soup.h.
    
    * WebProcess/Cookies/soup/WebKitSoupCookieJarSqlite.h:
    * WebProcess/efl/WebProcessMainEfl.cpp:
    * WebProcess/gtk/WebProcessMainGtk.cpp:
    * WebProcess/soup/WebKitSoupRequestGeneric.h:
    * WebProcess/soup/WebProcessSoup.cpp:
    * WebProcess/soup/WebSoupRequestManager.cpp:
    (WebKit::WebSoupRequestManager::registerURIScheme): Remove requester and
    use method soup_session_add_feature_by_type().
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148507 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    c5331afd