summaryrefslogtreecommitdiffstats
path: root/WebKit/android/WebCoreSupport/WebUrlLoader.cpp
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2010-11-29 07:19:42 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-11-29 07:19:42 -0800
commit454adf027eb747dd9d6c6b041f1d2d68f228c44b (patch)
tree0df65d7a67702d4322a0d5472058ee04700f5723 /WebKit/android/WebCoreSupport/WebUrlLoader.cpp
parent9092f30ce1d2ad138d0095acddc2f5f4b2a025f9 (diff)
parent8f71a88eb32d112e6277f0a0260df04e969d6f8a (diff)
downloadexternal_webkit-454adf027eb747dd9d6c6b041f1d2d68f228c44b.zip
external_webkit-454adf027eb747dd9d6c6b041f1d2d68f228c44b.tar.gz
external_webkit-454adf027eb747dd9d6c6b041f1d2d68f228c44b.tar.bz2
Merge changes I006cddf2,Ib304a845,I4622749d
* changes: Moves implementation of ResourceLoaderAndroid to ResourceLoaderAndroid.cpp Add a static WebRequestContext::acceptLanguage() method Make WebCookieJar::get() threadsafe
Diffstat (limited to 'WebKit/android/WebCoreSupport/WebUrlLoader.cpp')
-rw-r--r--WebKit/android/WebCoreSupport/WebUrlLoader.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/WebKit/android/WebCoreSupport/WebUrlLoader.cpp b/WebKit/android/WebCoreSupport/WebUrlLoader.cpp
index 170e78f..8c943a0 100644
--- a/WebKit/android/WebCoreSupport/WebUrlLoader.cpp
+++ b/WebKit/android/WebCoreSupport/WebUrlLoader.cpp
@@ -80,31 +80,3 @@ void WebUrlLoader::downloadFile()
}
} // namespace android
-
-
-namespace WebCore {
-// on main thread
-// static
-// TODO: Implement sync requests
-PassRefPtr<ResourceLoaderAndroid> ResourceLoaderAndroid::start(WebCore::ResourceHandle* resourceHandle, const WebCore::ResourceRequest& resourceRequest,
- FrameLoaderClient* client, bool /*isMainResource*/, bool isSync, bool isPrivateBrowsing)
-{
- return android::WebUrlLoader::start(client, resourceHandle, resourceRequest, isSync, isPrivateBrowsing);
-}
-
-// static
-bool ResourceLoaderAndroid::willLoadFromCache(const WebCore::KURL&, int64_t identifier)
-{
- // This method is used to determine if a POST request can be repeated from
- // cache, but you cannot really know until you actually try to read from the
- // cache. Even if we checked now, something else could come along and wipe
- // out the cache entry by the time we fetch it.
- //
- // So, we always say yes here, to prevent the FrameLoader from initiating a
- // reload. Then in FrameLoaderClientImpl::dispatchWillSendRequest, we
- // fix-up the cache policy of the request to force a load from the cache.
- //
- return true;
-}
-
-} // namespace WebCore