summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/HistoryItem.java
Commit message (Collapse)AuthorAgeFilesLines
* First real cut of bookmarks backup agentChristopher Tate2009-07-271-1/+1
| | | | | | | | | | | | | | | | | | | The agent now does backup/restore of the bookmarks table. Whether to back up is determined by flattening the bookmark table, CRCing the flattened representation, and comparing the CRC with the previous backup pass's version. If they differ (or if the file size differs), the table is deemed to have changed and we send the flattened file off to the server as a single key. On restore, the bookmark records are read individually from the flattened representation, the existing bookmarks table is queried for a matching URL, and if none exists the bookmark is inserted into the table. Bookmarks.addBookmark() now takes a boolean argument "retainIcon." When false, the implementation will not call into the web icon database. This is necessary during restore because the web icon database is only available from the Browser app's main thread, but restore happens without the app proper being involved. The other call points for addBookmark() have been updated to pass 'true,' i.e. preserving the current behavior.
* Consolidate bookmark add/delete code in the browser.Leon Scroggins2009-06-151-57/+4
| | | | | Driven by a desire to put bookmarking functionality into the title bar, I have consolidated the code for adding and removing bookmarks.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+127
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-127/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-82/+83
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+126