summaryrefslogtreecommitdiff
path: root/core/java/android/webkit/DataLoader.java
Commit message (Collapse)AuthorAgeFilesLines
* Drop support for Android HTTP stackSteve Block2012-02-221-77/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All future releases will use the Chromium HTTP stack and maintaining two HTTP stacks adds maintenance overhead. The Chromium HTTP stack requires V8, but we now use V8 in all build targets (b/5495373), so we can safely drop the Android HTTP stack. LoadListener, HttpAuthHandlerImpl, Network, SslErrorHandlerImpl, WebViewWorker - Android-stack specific, removed StreamLoader, FrameLoader - Require LoadListener, removed CacheLoader, ContentLoader, DataLoader, FileLoader - Extend StreamLoader, removed BrowserFrame - Removed methods that create LoadListener - BrowserFrame.startLoadingResource() is called from native CallbackProxy, WebView - Removed calls to Network methods CacheManager, CookieManager, CookieSyncManager, WebViewCore, WebResourceResponse - Removed other Android-stack specific code JniUtlil - Removed useChromiumHttpStack() WebViewDatabase - Removed all code to create cookies and cache databases for Android HTTP stack See corresponding WebKit change https://android-git.corp.google.com/g/166327. Bug: 5495616 Change-Id: If491675516f6eb187077af4220214bb6e6a8d045
* Tracking merge of dalvik-dev to masterBrian Carlstrom2011-05-271-1/+1
| | | | | | | | | | | | | | | Adapt to change in the way MockWebServer sets up CONNECT proxies. git cherry-pick --no-commit c7e2feee5e7908a019a0de91123c1feb9bdc38bc React to move of Base64 in libcore git cherry-pick --no-commit 119f7ebdd1f8df3a8ff8e3b8056bff725d569253 Expose and document android.net.HttpResponseCache. git cherry-pick --no-commit 7b73f0fdb8c032a65c55610541d66385bd8bcbe6) make update-api Change-Id: Ieb48b304ea38ee8c2ec01e860d99b1404583889e
* Enable StreamLoader to be loaded in a separate thread.Grace Kloba2010-02-041-14/+2
| | | | | | | | | | | | | | | | | | Move ContentLoader and FileLoader to this new way as they involves IO. Will work on CacheLoader later. Change StreamLoader to contain a Handler instead of derive from a Handler so that the Handler can be created in the thread where load() is called. Rename StreamLoader's old "LoadListener mHandler" to mLoadListener. Remove unused import and unreachable exception. Fix http://b/issue?id=2158613 This improved page_cycler performance in moz/intl by 10-30% as we are not blocked by IO any more.
* Check for null data after decoding a data: url.Patrick Scott2010-02-021-4/+16
| | | | | | | Refactor StreamLoader and friends since they all use a Context. Change the successful status to 200 instead of 0. Not sure why it was ever 0. Bug: 2364322
* loadListener.transferEncoding() is null if it is not specified in data: ↵Grace Kloba2009-05-151-1/+1
| | | | schema when DataLoader is constructed. Reverse the checking order.
* Parse the base64 data before creating the data stream.Patrick Scott2009-04-291-16/+13
| | | | | | | | | | | | | This will ensure that we do not parse the data in chunks when passing it to the LoadListener. Decoding in chunks can lead to incomplete sequences which will lead to a failed decode. Check for a cancelled LoadListener in StreamLoader and stop the load. This is just a shortcut for downloaded or failed resources. Cleanup some of the LoadListener code around resetting a few member variables. Reset them in the status callback since that indicates a new response from the server (or StreamLoader).
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+80
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-80/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+80