summaryrefslogtreecommitdiff
path: root/core/java/android/webkit/ContentLoader.java
Commit message (Collapse)AuthorAgeFilesLines
* Drop support for Android HTTP stackSteve Block2012-02-221-98/+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
* Enable StreamLoader to be loaded in a separate thread.Grace Kloba2010-02-041-24/+4
| | | | | | | | | | | | | | | | | | 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-9/+4
| | | | | | | 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
* if exception getMessage() is null, don't add it to the errorCary Clark2009-09-011-15/+13
| | | | | Consolidate the error message construction, allowing the exception getMessage() to fail.
* The new webkit won't keep RAM cache if http header has "no-store". So removeGrace Kloba2009-08-211-2/+1
| | | | it from StreamLoader. And fix the code where we only want to cache network result.
* Automated import from //branches/master/...@140426,140426Grace Kloba2009-03-241-0/+3
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+123
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-123/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+123