• andersca@apple.com's avatar
    2011-04-04 Anders Carlsson <andersca@apple.com> · 227df473
    andersca@apple.com authored
            Reviewed by Dan Bernstein.
    
            Get rid of WebContext::process() in more places
            https://bugs.webkit.org/show_bug.cgi?id=57787
    
            Migrate calls to WebContext::process() over to sendToAllProcesses and
            sendToAllProcessesRelaunchingThemIfNecessary.
    
            Add FIXMEs for things that need to be fixed in order to support multiple web processes.
                    
            * UIProcess/Downloads/DownloadProxy.cpp:
            (WebKit::DownloadProxy::cancel):
            * UIProcess/Plugins/WebPluginSiteDataManager.cpp:
            (WebKit::WebPluginSiteDataManager::getSitesWithData):
            (WebKit::WebPluginSiteDataManager::clearSiteData):
            * UIProcess/VisitedLinkProvider.cpp:
            (WebKit::VisitedLinkProvider::pendingVisitedLinksTimerFired):
            * UIProcess/WebApplicationCacheManagerProxy.cpp:
            (WebKit::WebApplicationCacheManagerProxy::getApplicationCacheOrigins):
            (WebKit::WebApplicationCacheManagerProxy::deleteEntriesForOrigin):
            (WebKit::WebApplicationCacheManagerProxy::deleteAllEntries):
            * UIProcess/WebCookieManagerProxy.cpp:
            (WebKit::WebCookieManagerProxy::getHostnamesWithCookies):
            (WebKit::WebCookieManagerProxy::getHTTPCookieAcceptPolicy):
            * UIProcess/WebDatabaseManagerProxy.cpp:
            (WebKit::WebDatabaseManagerProxy::getDatabasesByOrigin):
            (WebKit::WebDatabaseManagerProxy::getDatabaseOrigins):
            (WebKit::WebDatabaseManagerProxy::deleteDatabaseWithNameForOrigin):
            (WebKit::WebDatabaseManagerProxy::deleteDatabasesForOrigin):
            (WebKit::WebDatabaseManagerProxy::deleteAllDatabases):
            (WebKit::WebDatabaseManagerProxy::setQuotaForOrigin):
            * UIProcess/WebGeolocationManagerProxy.cpp:
            (WebKit::WebGeolocationManagerProxy::providerDidChangePosition):
            (WebKit::WebGeolocationManagerProxy::providerDidFailToDeterminePosition):
            * UIProcess/WebIconDatabase.cpp:
            (WebKit::WebIconDatabase::getLoadDecisionForIconURL):
            (WebKit::WebIconDatabase::didFinishURLImport):
            * UIProcess/WebKeyValueStorageManagerProxy.cpp:
            (WebKit::WebKeyValueStorageManagerProxy::getKeyValueStorageOrigins):
            (WebKit::WebKeyValueStorageManagerProxy::deleteEntriesForOrigin):
            (WebKit::WebKeyValueStorageManagerProxy::deleteAllEntries):
            * UIProcess/WebMediaCacheManagerProxy.cpp:
            (WebKit::WebMediaCacheManagerProxy::getHostnamesWithMediaCache):
            (WebKit::WebMediaCacheManagerProxy::clearCacheForHostname):
            (WebKit::WebMediaCacheManagerProxy::clearCacheForAllHostnames):
            * UIProcess/WebResourceCacheManagerProxy.cpp:
            (WebKit::WebResourceCacheManagerProxy::getCacheOrigins):
            (WebKit::WebResourceCacheManagerProxy::clearCacheForOrigin):
            (WebKit::WebResourceCacheManagerProxy::clearCacheForAllOrigins):
    
    
    git-svn-id: svn://svn.chromium.org/blink/trunk@82873 bbb929c8-8fbe-4397-9dbb-9b2b20218538
    227df473
ChangeLog 422 KB