1. 24 Sep, 2009 1 commit
    • Ben Murdoch's avatar
      In the case of a page load error, save a second screenshot in... · aac7aa6f
      Ben Murdoch authored
      In the case of a page load error, save a second screenshot in onProgressChanged(100) to ensure that we save the substituted error page rather than the previous page that loaded. Also save the thumbnail for the page if the user creates the bookmark through the add bookmark menu or clicking the add bookmark icon on the bookmarks page.
      
      Change-Id: Ib2b7692a45290f9ce372968e05cde8f6903e4572
      aac7aa6f
  2. 23 Sep, 2009 1 commit
  3. 27 Jul, 2009 1 commit
    • Christopher Tate's avatar
      First real cut of bookmarks backup agent · 9c0dd8ca
      Christopher Tate authored
      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.
      9c0dd8ca
  4. 15 Jun, 2009 1 commit