1. 21 Apr, 2018 2 commits
    • Yafei Duan's avatar
      [Offline Pages] New persistent page consistency check · d9d4b3f8
      Yafei Duan authored
      Introduces a new consistency check strategy for persistent pages. Since
      persistent pages should be living in an external directory and exposed
      to third party file explorers, we should not deleting any files.
      
      Some more details:
      - For all persistent pages, try to see if it still has its archive file
       - If not and the page has been missing the file for a while, delete the
         entry from DB and notify the system download manager about deletion;
         If it's newly discovered missing, set the file missing time in DB.
       - If the file is there and the page has been marked as missing file,
         remove the file missing time.
      - The new persistent page consistency check will run together with the
        ClearStorageTask, scheduled by actions(GetAllPages or SavePage) and
        limited by a time threshold.
      
      Bug: 830102
      Change-Id: Ie90d9fd988c642bdb6f598982f93e33642bd97ca
      Reviewed-on: https://chromium-review.googlesource.com/1016015Reviewed-by: default avatarSteven Holte <holte@chromium.org>
      Reviewed-by: default avatarPeter Williamson <petewil@chromium.org>
      Commit-Queue: Yafei Duan <romax@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552526}
      d9d4b3f8
    • Benjamin Pastene's avatar
      Add a few more suites to cros vm test bot. · 6e061607
      Benjamin Pastene authored
      And double shard crypto_unittests to test sharding & merging logic.
      
      Bug: 832374
      Change-Id: I165160b5482efb505861f7f4bd0e0f1497923efc
      Reviewed-on: https://chromium-review.googlesource.com/1022255Reviewed-by: default avatarDirk Pranke <dpranke@chromium.org>
      Commit-Queue: Ben Pastene <bpastene@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#552525}
      6e061607
  2. 20 Apr, 2018 38 commits