summaryrefslogtreecommitdiffstats
path: root/core/java/android/webkit/WebViewDatabase.java
Commit message (Collapse)AuthorAgeFilesLines
* Enable write ahead logging on databases used by WebView.Leon Scroggins2011-01-101-3/+5
| | | | | Bug:3337213 Change-Id: Ic687bc506faba23c3e52e44f0a5d0146a352206e
* Avoid superfluous calls to CacheManager with the Chromium HTTP stackSteve Block2011-01-071-4/+22
| | | | | | | | | | | | | | When using the Chromium HTTP stack, most of the calls to CacheManager methods are not required, as we're not using its cache. These methods are now marked with asserts to make this clear. Also avoid creating the cache database in WebViewDatabase. This will avoid creating the database databases/webviewCache.db and the directory cache/webviewCache. Bug: 3270236 Change-Id: I68f94dde16830ed817454d5e1af961f41b71d018
* Update the storage locations used by the Chromium HTTP stackSteve Block2010-09-281-0/+3
| | | | | | | | | | | This updates the strorage locations to better match those used by the Android HTTP stack. The corresponding external/webkit change is https://android-git.corp.google.com/g/70643 Bug: 3039536 Change-Id: Ia7ea68d1472e96788a7fbaa6e8f7aa1ee51b3fb0
* am dc1f0858: am 9902196f: Fix npe in getCacheTotalSize.Patrick Scott2010-08-111-0/+3
|\ | | | | | | | | | | | | Merge commit 'dc1f08586eadc3a3dbbdf22b520ba1065b2032f8' * commit 'dc1f08586eadc3a3dbbdf22b520ba1065b2032f8': Fix npe in getCacheTotalSize.
| * Fix npe in getCacheTotalSize.Patrick Scott2010-08-111-0/+3
| | | | | | | | | | Bug: 2882277 Change-Id: I9319a48e0ed75561d3d04691fb288f69d11edc84
* | Move WebViewDatabase initialization into a background thread.Patrick Scott2010-06-161-109/+154
|/ | | | | | | | | | | | | This isn't the perfect solution as any calls into WebViewDatabase will block until initialization completes. It is better than the current model which blocks when creating the WebViewDatabase. In order to get a perfect solution, we would need to do initialization in the background and have a way to interact with the database during initialization that would not block. Bug: 2721802 Change-Id: Ibbaf7f97926128de6534fbf2148452099766c6b7
* Fix for when flash loads cached crossdomain.xml files.Leon Clarke2010-03-231-2/+11
| | | | | Cache the x-permitted-cross-domain-policies header. http://b/issue?id=2519669
* Close Cursors in finally blocks.Leon Scroggins2010-03-221-135/+210
| | | | | | Fix for http://b/issue?id=2533750 Change-Id: I3ebcc6147e4035ce1c4bf6b76a359ce14196e357
* Add a new WebCoreWorker thread to handle the tasksGrace Kloba2010-03-011-2/+38
| | | | | | | | | | | | | | | | | | | | | | | 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
* If openOrCreateDatabase() throws an exception, deleteGrace Kloba2009-10-131-3/+21
| | | | | | | the old db and re-do it. If it still fails, something bad happens, like the directory may have the different permission. Let it throw as WebView needs the db. Fix http://b/issue?id=2179339
* Per suggestion in http://b/issue?id=2062340, update the UNIQUE in theGrace Kloba2009-09-141-3/+18
| | | httpauth table.
* Add content-disposition into the cache header as it is needed by Flash.Grace Kloba2009-06-291-5/+14
| | | | As WebKit is using string version of "expires", pass it with the rest of the headers.
* Fix for the new webkit. Now "expires" takes the string instead of int.Grace Kloba2009-06-251-7/+16
| | | | We have to upadte our cache database. Good thing is Gears can avoid the expensive date conversion.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+967
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-967/+0
|
* auto import from //branches/cupcake/...@131421The Android Open Source Project2009-02-131-25/+22
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-34/+42
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+962