History log of /frameworks/base/core/java/android/webkit/StreamLoader.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2036dbab1726c34953360a7a56d6b9ef1f2aa7dd 15-Feb-2010 Grace Kloba <klobag@google.com> Add a new WebCoreWorker thread to handle the tasks
which should not block either UI or WebKit. It handles
local file access, cache access and trim cache.

Move createCache, saveCache and most of getCache out
of WebCore thread so that slow IO and database will
not affect loading performance. getCache can be still
called from WebCore thread in the uncommon cases
like redirect and POST validation.

Move cache ticker from WebCore thread to WebViewWorkerThread.

Move setCookie from WebCore thread to WebViewWorkerThread.

Remove the unreferenced files in the cache directory
while trim cache.

Confirmed with our SQL expert, Vasu, there is no need
to wrap clearCache with end/startTransaction any more.

http://b/issue?id=2414792
http://b/issue?id=2475242
/frameworks/base/core/java/android/webkit/StreamLoader.java
ac75f56600691d318d40301204baaf840c9586f2 03-Feb-2010 Grace Kloba <klobag@google.com> Enable StreamLoader to be loaded in a separate thread.

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.
/frameworks/base/core/java/android/webkit/StreamLoader.java
8af3cfc2a45334bfe936fcfc79c6e1cab06e104b 02-Feb-2010 Patrick Scott <phanna@android.com> Check for null data after decoding a data: url.

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
/frameworks/base/core/java/android/webkit/StreamLoader.java
c3fa098ff60c13ec9d9f61317e766c8f4529ecd3 22-Aug-2009 Grace Kloba <klobag@google.com> The new webkit won't keep RAM cache if http header has "no-store". So remove
it from StreamLoader. And fix the code where we only want to cache network result.
/frameworks/base/core/java/android/webkit/StreamLoader.java
2e5c150e746647a1ce5c10e1708debbf06c45ea7 03-Jun-2009 Derek Sollenberger <djsollen@google.com> Centralized debug flags and enabled more granular control of debug settings.
/frameworks/base/core/java/android/webkit/StreamLoader.java
e82dc4205285a40d6c2227e362c30ce24c96a552 29-Apr-2009 Patrick Scott <phanna@android.com> Parse the base64 data before creating the data stream.

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).
/frameworks/base/core/java/android/webkit/StreamLoader.java
42bc2ff5d2e3a10ab6c1fb1e716a124f2b446dbc 14-Apr-2009 Dave Bort <dbort@android.com> Remove references to android.util.Config

The semantics of Config.DEBUG will be changing soon, and all other
Config.* fields will become deprecated/hidden.

BUG=1780938
/frameworks/base/core/java/android/webkit/StreamLoader.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/webkit/StreamLoader.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/webkit/StreamLoader.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/java/android/webkit/StreamLoader.java