Changeset 86016 in webkit


Ignore:
Timestamp:
May 7, 2011 5:49:26 PM (13 years ago)
Author:
jberlin@webkit.org
Message:

[Windows WebKit2] Use cookies set in WebKit1
https://bugs.webkit.org/show_bug.cgi?id=60274

Reviewed by Steve Falkenburg.

Source/WebCore:

Share the default storage session between the UI and Web Processes.

  • platform/network/cf/CookieStorageCFNet.cpp:

(WebCore::defaultSessionCookieStorage):
Keep track of the default storage session cookie storage.
(WebCore::currentCookieStorage):
Call defaultCookieStorage to get the default cookie storage.
(WebCore::defaultCookieStorage):
If there is a default storage session cookie storage, prefer that over getting the default
cookie storage. In the Web Process, asking CFNetwork for the default cookie storage directly
without specifying a storage session will not get the cookie storage being shared by the UI
and Web Processes.

  • platform/network/ResourceHandle.h:
  • platform/network/cf/ResourceHandleCFNet.cpp:

(WebCore::willSendRequest):
Make sure to set the current storage session on any requests used by the Web
Process before CFNetwork has to do anything with them, in order for CFNetwork to avoid
doing anything with the Web Process's default storage session (which is not the one shared
with the UI Process).
(WebCore::makeFinalRequest):
Ditto.
(WebCore::ResourceHandle::willSendRequest):
Ditto.
(WebCore::ResourceHandle::currentStorageSession):
If there is a Private Browsing storage session, return that.
If not, on Windows return the default storage session that is being shared with the UI
Process and on Mac return 0.
(WebCore::defaultCFURLStorageSession):
(WebCore::ResourceHandle::setDefaultStorageSession):
(WebCore::ResourceHandle::defaultStorageSession):

  • platform/network/cf/ResourceRequestCFNet.cpp:

(WebCore::ResourceRequest::doUpdatePlatformRequest):
Make sure to set the current storage session on any requests used by the Web
Process before CFNetwork has to do anything with them, in order for CFNetwork to avoid
doing anything with the Web Process's default storage session (which is not the one shared
with the UI Process).

Source/WebKit/win:

  • WebView.cpp:

(WebView::setCacheModel):
Pass 0 to wkCopyFoundationCacheDirectory so that it uses the default session.

Source/WebKit2:

Share the default storage session between the UI and Web Processes.

  • Shared/WebProcessCreationParameters.cpp:

(WebKit::WebProcessCreationParameters::encode):
(WebKit::WebProcessCreationParameters::decode):

  • Shared/WebProcessCreationParameters.h:

Add a parameter for a serialized default storage session, used only on Windows.

  • Shared/win/WebCoreArgumentCodersWin.cpp:

(CoreIPC::decodeResourceRequest):
Make sure to set the current storage session on any requests used by the Web
Process before CFNetwork has to do anything with them, in order for CFNetwork to avoid
doing anything with the Web Process's default storage session.

  • UIProcess/win/WebContextWin.cpp:

(WebKit::WebContext::platformInitializeWebProcess):
Serialize the default storage session in the UI Process and add it to the
WebProcessCreationParameters.

  • WebProcess/WebPage/win/WebPageWin.cpp:

(WebKit::cachedResponseForURL):
Use the cache associated with the current storage session and make sure the request has the
current storage session set on it before doing anything with it.

  • WebProcess/win/WebProcessWin.cpp:

(WebKit::WebProcess::platformSetCacheModel):
Use the default storage session.
(WebKit::WebProcess::platformClearResourceCaches):
Ditto.
(WebKit::WebProcess::platformInitializeWebProcess):
Deserialize the default storage session passed in by the UI Process and hand it to the
ResourceHandle.

WebKitLibraries:

  • win/include/WebKitSystemInterface/WebKitSystemInterface.h:
  • win/lib/WebKitSystemInterface.lib:
Location:
trunk
Files:
17 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r86013 r86016  
     12011-05-07  Jessie Berlin  <jberlin@apple.com>
     2
     3        Reviewed by Steve Falkenburg.
     4
     5        [Windows WebKit2] Use cookies set in WebKit1
     6        https://bugs.webkit.org/show_bug.cgi?id=60274
     7
     8        Share the default storage session between the UI and Web Processes.
     9
     10        * platform/network/cf/CookieStorageCFNet.cpp:
     11        (WebCore::defaultSessionCookieStorage):
     12        Keep track of the default storage session cookie storage.
     13        (WebCore::currentCookieStorage):
     14        Call defaultCookieStorage to get the default cookie storage.
     15        (WebCore::defaultCookieStorage):
     16        If there is a default storage session cookie storage, prefer that over getting the default
     17        cookie storage. In the Web Process, asking CFNetwork for the default cookie storage directly
     18        without specifying a storage session will not get the cookie storage being shared by the UI
     19        and Web Processes.
     20
     21        * platform/network/ResourceHandle.h:
     22        * platform/network/cf/ResourceHandleCFNet.cpp:
     23        (WebCore::willSendRequest):
     24        Make sure to set the current storage session on any requests used by the Web
     25        Process before CFNetwork has to do anything with them, in order for CFNetwork to avoid
     26        doing anything with the Web Process's default storage session (which is not the one shared
     27        with the UI Process).
     28        (WebCore::makeFinalRequest):
     29        Ditto.
     30        (WebCore::ResourceHandle::willSendRequest):
     31        Ditto.
     32        (WebCore::ResourceHandle::currentStorageSession):
     33        If there is a Private Browsing storage session, return that.
     34        If not, on Windows return the default storage session that is being shared with the UI
     35        Process and on Mac return 0.
     36        (WebCore::defaultCFURLStorageSession):
     37        (WebCore::ResourceHandle::setDefaultStorageSession):
     38        (WebCore::ResourceHandle::defaultStorageSession):
     39
     40        * platform/network/cf/ResourceRequestCFNet.cpp:
     41        (WebCore::ResourceRequest::doUpdatePlatformRequest):
     42        Make sure to set the current storage session on any requests used by the Web
     43        Process before CFNetwork has to do anything with them, in order for CFNetwork to avoid
     44        doing anything with the Web Process's default storage session (which is not the one shared
     45        with the UI Process).
     46
    1472011-05-07  Joe Mason  <jmason@rim.com>
    248
  • trunk/Source/WebCore/platform/network/ResourceHandle.h

    r80180 r86016  
    195195    static CFURLStorageSessionRef privateBrowsingStorageSession();
    196196    static void setPrivateBrowsingStorageSessionIdentifierBase(const String&);
    197 #endif
     197    static CFURLStorageSessionRef currentStorageSession();
     198#if PLATFORM(WIN)
     199    static void setDefaultStorageSession(CFURLStorageSessionRef);
     200    static CFURLStorageSessionRef defaultStorageSession();
     201#endif // PLATFORM(WIN)
     202#endif // USE(CFURLSTORAGESESSIONS)
    198203
    199204    using RefCounted<ResourceHandle>::ref;
  • trunk/Source/WebCore/platform/network/cf/CookieStorageCFNet.cpp

    r85721 r86016  
    6363#if USE(CFNETWORK)
    6464
     65static RetainPtr<CFHTTPCookieStorageRef>& defaultSessionCookieStorage()
     66{
     67    DEFINE_STATIC_LOCAL(RetainPtr<CFHTTPCookieStorageRef>, cookieStorage, ());
     68#if USE(CFURLSTORAGESESSIONS) && PLATFORM(WIN)
     69    if (!cookieStorage && ResourceHandle::defaultStorageSession())
     70        cookieStorage.adoptCF(wkCopyHTTPCookieStorage(ResourceHandle::defaultStorageSession()));
     71#endif
     72    return cookieStorage;
     73}
     74
    6575CFHTTPCookieStorageRef currentCookieStorage()
    6676{
     
    6979    if (CFHTTPCookieStorageRef cookieStorage = privateBrowsingCookieStorage().get())
    7080        return cookieStorage;
    71     return wkGetDefaultHTTPCookieStorage();
     81    return defaultCookieStorage();
    7282}
    7383
     
    98108CFHTTPCookieStorageRef defaultCookieStorage()
    99109{
     110    if (CFHTTPCookieStorageRef defaultCookieStorage = defaultSessionCookieStorage().get())
     111        return defaultCookieStorage;
    100112    return wkGetDefaultHTTPCookieStorage();
    101113}
  • trunk/Source/WebCore/platform/network/cf/ResourceHandleCFNet.cpp

    r85109 r86016  
    149149            if (CFStringCompareWithOptions(lastHTTPMethod.get(), newMethod.get(), CFRangeMake(0, CFStringGetLength(lastHTTPMethod.get())), kCFCompareCaseInsensitive)) {
    150150                RetainPtr<CFMutableURLRequestRef> mutableRequest(AdoptCF, CFURLRequestCreateMutableCopy(0, cfRequest));
     151#if USE(CFURLSTORAGESESSIONS)
     152                wkSetRequestStorageSession(ResourceHandle::currentStorageSession(), mutableRequest.get());
     153#endif
    151154                CFURLRequestSetHTTPRequestMethod(mutableRequest.get(), lastHTTPMethod.get());
    152155
     
    341344{
    342345    CFMutableURLRequestRef newRequest = CFURLRequestCreateMutableCopy(kCFAllocatorDefault, request.cfURLRequest());
    343 
    344346#if USE(CFURLSTORAGESESSIONS)
    345     if (CFURLStorageSessionRef storageSession = ResourceHandle::privateBrowsingStorageSession())
    346         wkSetRequestStorageSession(storageSession, newRequest);
     347    wkSetRequestStorageSession(ResourceHandle::currentStorageSession(), newRequest);
    347348#endif
    348349   
     
    494495
    495496#if USE(CFURLSTORAGESESSIONS)
    496     if (CFURLStorageSessionRef storageSession = privateBrowsingStorageSession())
    497         request.setStorageSession(storageSession);
     497     request.setStorageSession(ResourceHandle::currentStorageSession());
    498498#endif
    499499
     
    745745}
    746746
     747CFURLStorageSessionRef ResourceHandle::currentStorageSession()
     748{
     749    if (CFURLStorageSessionRef privateStorageSession = privateBrowsingStorageSession())
     750        return privateStorageSession;
     751#if PLATFORM(WIN)
     752    return defaultStorageSession();
     753#else
     754    return 0;
    747755#endif
     756}
     757
     758#if PLATFORM(WIN)
     759
     760static RetainPtr<CFURLStorageSessionRef>& defaultCFURLStorageSession()
     761{
     762    DEFINE_STATIC_LOCAL(RetainPtr<CFURLStorageSessionRef>, storageSession, ());
     763    return storageSession;
     764}
     765
     766void ResourceHandle::setDefaultStorageSession(CFURLStorageSessionRef storageSession)
     767{
     768    defaultCFURLStorageSession().adoptCF(storageSession);
     769}
     770
     771CFURLStorageSessionRef ResourceHandle::defaultStorageSession()
     772{
     773    return defaultCFURLStorageSession().get();
     774}
     775
     776#endif // PLATFORM(WIN)
     777
     778#endif // USE(CFURLSTORAGESESSIONS)
    748779
    749780void WebCoreSynchronousLoaderClient::willSendRequest(ResourceHandle* handle, ResourceRequest& request, const ResourceResponse& /*redirectResponse*/)
  • trunk/Source/WebCore/platform/network/cf/ResourceRequestCFNet.cpp

    r85684 r86016  
    2727#include "ResourceRequestCFNet.h"
    2828
     29#include "ResourceHandle.h"
    2930#include "ResourceRequest.h"
    3031
     
    124125        CFURLRequestSetCachePolicy(cfRequest, (CFURLRequestCachePolicy)cachePolicy());
    125126        CFURLRequestSetTimeoutInterval(cfRequest, timeoutInterval());
    126     } else {
     127    } else
    127128        cfRequest = CFURLRequestCreateMutable(0, url.get(), (CFURLRequestCachePolicy)cachePolicy(), timeoutInterval(), firstPartyForCookies.get());
    128     }
     129#if USE(CFURLSTORAGESESSIONS)
     130    wkSetRequestStorageSession(ResourceHandle::currentStorageSession(), cfRequest);
     131#endif
    129132
    130133    RetainPtr<CFStringRef> requestMethod(AdoptCF, httpMethod().createCFString());
  • trunk/Source/WebKit/win/ChangeLog

    r85947 r86016  
     12011-05-07  Jessie Berlin  <jberlin@apple.com>
     2
     3        Reviewed by Steve Falkenburg.
     4
     5        [Windows WebKit2] Use cookies set in WebKit1
     6        https://bugs.webkit.org/show_bug.cgi?id=60274
     7
     8        * WebView.cpp:
     9        (WebView::setCacheModel):
     10        Pass 0 to wkCopyFoundationCacheDirectory so that it uses the default session.
     11
    1122011-05-06  Adam Roben  <aroben@apple.com>
    213
  • trunk/Source/WebKit/win/WebView.cpp

    r85864 r86016  
    453453
    454454    RetainPtr<CFURLCacheRef> cfurlCache(AdoptCF, CFURLCacheCopySharedURLCache());
    455     RetainPtr<CFStringRef> cfurlCacheDirectory(AdoptCF, wkCopyFoundationCacheDirectory());
     455    RetainPtr<CFStringRef> cfurlCacheDirectory(AdoptCF, wkCopyFoundationCacheDirectory(0));
    456456    if (!cfurlCacheDirectory)
    457457        cfurlCacheDirectory.adoptCF(WebCore::localUserSpecificStorageDirectory().createCFString());
  • trunk/Source/WebKit2/ChangeLog

    r86006 r86016  
     12011-05-07  Jessie Berlin  <jberlin@apple.com>
     2
     3        Reviewed by Steve Falkenburg.
     4
     5        [Windows WebKit2] Use cookies set in WebKit1
     6        https://bugs.webkit.org/show_bug.cgi?id=60274
     7
     8        Share the default storage session between the UI and Web Processes.
     9
     10        * Shared/WebProcessCreationParameters.cpp:
     11        (WebKit::WebProcessCreationParameters::encode):
     12        (WebKit::WebProcessCreationParameters::decode):
     13        * Shared/WebProcessCreationParameters.h:
     14        Add a parameter for a serialized default storage session, used only on Windows.
     15
     16        * Shared/win/WebCoreArgumentCodersWin.cpp:
     17        (CoreIPC::decodeResourceRequest):
     18        Make sure to set the current storage session on any requests used by the Web
     19        Process before CFNetwork has to do anything with them, in order for CFNetwork to avoid
     20        doing anything with the Web Process's default storage session.
     21
     22        * UIProcess/win/WebContextWin.cpp:
     23        (WebKit::WebContext::platformInitializeWebProcess):
     24        Serialize the default storage session in the UI Process and add it to the
     25        WebProcessCreationParameters.
     26
     27        * WebProcess/WebPage/win/WebPageWin.cpp:
     28        (WebKit::cachedResponseForURL):
     29        Use the cache associated with the current storage session and make sure the request has the
     30        current storage session set on it before doing anything with it.
     31
     32        * WebProcess/win/WebProcessWin.cpp:
     33        (WebKit::WebProcess::platformSetCacheModel):
     34        Use the default storage session.
     35        (WebKit::WebProcess::platformClearResourceCaches):
     36        Ditto.
     37        (WebKit::WebProcess::platformInitializeWebProcess):
     38        Deserialize the default storage session passed in by the UI Process and hand it to the
     39        ResourceHandle.
     40
    1412011-05-07  Keith Kyzivat  <keith.kyzivat@nokia.com>
    242
  • trunk/Source/WebKit2/Shared/WebProcessCreationParameters.cpp

    r85345 r86016  
    2828
    2929#include "ArgumentCoders.h"
     30#if USE(CFURLSTORAGESESSIONS) && PLATFORM(WIN)
     31#include "ArgumentCodersCF.h"
     32#endif
    3033
    3134namespace WebKit {
     
    8083    encoder->encode(cfURLCacheMemoryCapacity);
    8184    encoder->encode(initialHTTPCookieAcceptPolicy);
     85#if USE(CFURLSTORAGESESSIONS)
     86    CoreIPC::encode(encoder, serializedDefaultStorageSession.get());
     87#endif // USE(CFURLSTORAGESESSIONS)
    8288#endif
    8389}
     
    150156    if (!decoder->decode(parameters.initialHTTPCookieAcceptPolicy))
    151157        return false;
     158#if USE(CFURLSTORAGESESSIONS)
     159    if (!CoreIPC::decode(decoder, parameters.serializedDefaultStorageSession))
     160        return false;
     161#endif // USE(CFURLSTORAGESESSIONS)
    152162#endif
    153163
  • trunk/Source/WebKit2/Shared/WebProcessCreationParameters.h

    r85345 r86016  
    3030#include "SandboxExtension.h"
    3131#include "TextCheckerState.h"
     32#include <wtf/RetainPtr.h>
    3233#include <wtf/Vector.h>
    3334#include <wtf/text/WTFString.h>
     
    104105
    105106    bool shouldPaintNativeControls;
    106 #endif
     107
     108#if USE(CFURLSTORAGESESSIONS)
     109    RetainPtr<CFDataRef> serializedDefaultStorageSession;
     110#endif // USE(CFURLSTORAGESESSIONS)
     111#endif // PLATFORM(WIN)
    107112};
    108113
  • trunk/Source/WebKit2/Shared/win/WebCoreArgumentCodersWin.cpp

    r82306 r86016  
    3030#include "ArgumentCodersCF.h"
    3131#include "PlatformCertificateInfo.h"
     32#include <CFNetwork/CFURLRequestPriv.h>
    3233#include <WebCore/CertificateCFWin.h>
     34#include <WebCore/ResourceHandle.h>
    3335#include <WebKitSystemInterface/WebKitSystemInterface.h>
    3436#endif
     
    7173    if (!cfURLRequest)
    7274        return false;
     75    CFMutableURLRequestRef mutableCFURLRequest = CFURLRequestCreateMutableCopy(0, cfURLRequest);
     76    CFRelease(cfURLRequest);
     77#if USE(CFURLSTORAGESESSIONS)
     78    wkSetRequestStorageSession(WebCore::ResourceHandle::currentStorageSession(), mutableCFURLRequest);
     79#endif
    7380
    74     resourceRequest = WebCore::ResourceRequest(cfURLRequest);
     81    resourceRequest = WebCore::ResourceRequest(mutableCFURLRequest);
    7582    return true;
    7683#else
  • trunk/Source/WebKit2/UIProcess/win/WebContextWin.cpp

    r82857 r86016  
    6161    parameters.cfURLCacheMemoryCapacity = CFURLCacheMemoryCapacity(cfurlCache.get());
    6262
    63     RetainPtr<CFStringRef> cfURLCachePath(AdoptCF, wkCopyFoundationCacheDirectory());
     63    RetainPtr<CFStringRef> cfURLCachePath(AdoptCF, wkCopyFoundationCacheDirectory(0));
    6464    parameters.cfURLCachePath = String(cfURLCachePath.get());
    6565    // Remove the ending '\' (necessary to have CFNetwork find the Cache file).
     
    7070#if USE(CFURLSTORAGESESSIONS)
    7171    parameters.uiProcessBundleIdentifier = String(reinterpret_cast<CFStringRef>(CFBundleGetValueForInfoDictionaryKey(CFBundleGetMainBundle(), kCFBundleIdentifierKey)));
     72    parameters.serializedDefaultStorageSession.adoptCF(wkCopySerializedDefaultStorageSession());
    7273#endif // USE(CFURLSTORAGESESSIONS)
    7374
  • trunk/Source/WebKit2/WebProcess/WebPage/win/WebPageWin.cpp

    r85958 r86016  
    269269    RetainPtr<CFURLRef> cfURL(AdoptCF, url.createCFURL());
    270270    RetainPtr<CFMutableURLRequestRef> request(AdoptCF, CFURLRequestCreateMutable(0, cfURL.get(), kCFURLRequestCachePolicyReloadIgnoringCache, 60, 0));
     271#if USE(CFURLSTORAGESESSIONS)
     272    wkSetRequestStorageSession(ResourceHandle::currentStorageSession(), request.get());
     273#endif
    271274
    272275    RetainPtr<CFStringRef> userAgent(AdoptCF, webPage->userAgent().createCFString());
     
    275278    RetainPtr<CFURLCacheRef> cache;
    276279#if USE(CFURLSTORAGESESSIONS)
    277     if (CFURLStorageSessionRef storageSession = ResourceHandle::privateBrowsingStorageSession())
    278         cache.adoptCF(wkCopyURLCache(storageSession));
     280    if (CFURLStorageSessionRef currentStorageSession = ResourceHandle::currentStorageSession())
     281        cache.adoptCF(wkCopyURLCache(currentStorageSession));
    279282    else
    280283#endif
  • trunk/Source/WebKit2/WebProcess/win/WebProcessWin.cpp

    r83498 r86016  
    3333#include <WebCore/MemoryCache.h>
    3434#include <WebCore/PageCache.h>
     35#include <WebCore/ResourceHandle.h>
    3536#include <WebCore/Settings.h>
    3637#include <wtf/text/WTFString.h>
     
    7071{
    7172#if USE(CFNETWORK)
    72     RetainPtr<CFStringRef> cfurlCacheDirectory(AdoptCF, wkCopyFoundationCacheDirectory());
     73    RetainPtr<CFStringRef> cfurlCacheDirectory;
     74#if USE(CFURLSTORAGESESSIONS)
     75    if (CFURLStorageSessionRef defaultStorageSession = ResourceHandle::defaultStorageSession())
     76        cfurlCacheDirectory.adoptCF(wkCopyFoundationCacheDirectory(defaultStorageSession));
     77    else
     78#endif
     79        cfurlCacheDirectory.adoptCF(wkCopyFoundationCacheDirectory(0));
     80
    7381    if (!cfurlCacheDirectory)
    7482        cfurlCacheDirectory.adoptCF(WebCore::localUserSpecificStorageDirectory().createCFString());
     
    95103    pageCache()->setCapacity(pageCacheCapacity);
    96104
    97     RetainPtr<CFURLCacheRef> cfurlCache(AdoptCF, CFURLCacheCopySharedURLCache());
     105    RetainPtr<CFURLCacheRef> cfurlCache;
     106#if USE(CFURLSTORAGESESSIONS)
     107    if (CFURLStorageSessionRef defaultStorageSession = ResourceHandle::defaultStorageSession())
     108        cfurlCache.adoptCF(wkCopyURLCache(defaultStorageSession));
     109    else
     110#endif // USE(CFURLSTORAGESESSIONS)
     111        cfurlCache.adoptCF(CFURLCacheCopySharedURLCache());
     112
    98113    CFURLCacheSetMemoryCapacity(cfurlCache.get(), urlCacheMemoryCapacity);
    99114    CFURLCacheSetDiskCapacity(cfurlCache.get(), max<unsigned long>(urlCacheDiskCapacity, CFURLCacheDiskCapacity(cfurlCache.get()))); // Don't shrink a big disk cache, since that would cause churn.
     
    106121    if (cachesToClear == InMemoryResourceCachesOnly)
    107122        return;
    108     CFURLCacheRemoveAllCachedResponses(RetainPtr<CFURLCacheRef>(AdoptCF, CFURLCacheCopySharedURLCache()).get());
    109 #endif
     123
     124    RetainPtr<CFURLCacheRef> cache;
     125#if USE(CFURLSTORAGESESSIONS)
     126    if (CFURLStorageSessionRef defaultStorageSession = ResourceHandle::defaultStorageSession())
     127        cache.adoptCF(wkCopyURLCache(defaultStorageSession));
     128    else
     129#endif // USE(CFURLSTORAGESESSIONS)
     130        cache.adoptCF(CFURLCacheCopySharedURLCache());
     131
     132    CFURLCacheRemoveAllCachedResponses(cache.get());
     133#endif // USE(CFNETWORK)
    110134}
    111135
     
    115139
    116140#if USE(CFNETWORK)
     141#if USE(CFURLSTORAGESESSIONS)
     142    if (CFURLStorageSessionRef defaultStorageSession = wkDeserializeStorageSession(parameters.serializedDefaultStorageSession.get())) {
     143        ResourceHandle::setDefaultStorageSession(defaultStorageSession);
     144        return;
     145    }
     146#endif // USE(CFURLSTORAGESESSIONS)
     147
    117148    RetainPtr<CFStringRef> cachePath(AdoptCF, parameters.cfURLCachePath.createCFString());
    118149    if (!cachePath)
     
    123154    RetainPtr<CFURLCacheRef> uiProcessCache(AdoptCF, CFURLCacheCreate(kCFAllocatorDefault, cacheMemoryCapacity, cacheDiskCapacity, cachePath.get()));
    124155    CFURLCacheSetSharedURLCache(uiProcessCache.get());
    125 #endif
     156#endif // USE(CFNETWORK)
    126157
    127158    WebCookieManager::shared().setHTTPCookieAcceptPolicy(parameters.initialHTTPCookieAcceptPolicy);
  • trunk/WebKitLibraries/ChangeLog

    r85901 r86016  
     12011-05-07  Jessie Berlin  <jberlin@apple.com>
     2
     3        Reviewed by Steve Falkenburg.
     4
     5        [Windows WebKit2] Use cookies set in WebKit1
     6        https://bugs.webkit.org/show_bug.cgi?id=60274
     7
     8        * win/include/WebKitSystemInterface/WebKitSystemInterface.h:
     9        * win/lib/WebKitSystemInterface.lib:
     10
    1112011-05-05  Dan Bernstein  <mitz@apple.com>
    212
  • trunk/WebKitLibraries/win/include/WebKitSystemInterface/WebKitSystemInterface.h

    r85611 r86016  
    9494CFHTTPCookieStorageRef wkCreateInMemoryHTTPCookieStorage();
    9595void wkSetCFURLRequestShouldContentSniff(CFMutableURLRequestRef, bool);
    96 CFStringRef wkCopyFoundationCacheDirectory();
     96CFStringRef wkCopyFoundationCacheDirectory(CFURLStorageSessionRef);
    9797void wkSetClientCertificateInSSLProperties(CFMutableDictionaryRef, CFDataRef);
    9898
     
    104104CFURLCacheRef wkCopyURLCache(CFURLStorageSessionRef);
    105105CFHTTPCookieStorageRef wkCopyHTTPCookieStorage(CFURLStorageSessionRef);
     106CFDataRef wkCopySerializedDefaultStorageSession();
     107CFURLStorageSessionRef wkDeserializeStorageSession(CFDataRef);
    106108
    107109CFArrayRef wkCFURLCacheCopyAllHostNamesInPersistentStore();
Note: See TracChangeset for help on using the changeset viewer.