Add expiration check when GetAllPages/GetPages....
Will also have consistency check changed in this bug.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/b057d1e7c41c04cad80cbd7232ebcfed293c9ee7 commit b057d1e7c41c04cad80cbd7232ebcfed293c9ee7 Author: romax <romax@chromium.org> Date: Thu Jun 09 00:09:56 2016 [Offline Pages] Filtering expired pages and fix consistency check. Filtering expired pages when querying offline pages. Using expiring instead of removing page entries in consistency check. Also will remove files in archive folder to which have no page entry pointing. BUG= 616622 Review-Url: https://codereview.chromium.org/2041983006 Cr-Commit-Position: refs/heads/master@{#398744} [modify] https://crrev.com/b057d1e7c41c04cad80cbd7232ebcfed293c9ee7/chrome/browser/android/offline_pages/offline_page_bridge.cc [modify] https://crrev.com/b057d1e7c41c04cad80cbd7232ebcfed293c9ee7/chrome/browser/android/offline_pages/offline_page_utils_unittest.cc [modify] https://crrev.com/b057d1e7c41c04cad80cbd7232ebcfed293c9ee7/components/offline_pages/offline_page_model.h [modify] https://crrev.com/b057d1e7c41c04cad80cbd7232ebcfed293c9ee7/components/offline_pages/offline_page_model_impl.cc [modify] https://crrev.com/b057d1e7c41c04cad80cbd7232ebcfed293c9ee7/components/offline_pages/offline_page_model_impl.h [modify] https://crrev.com/b057d1e7c41c04cad80cbd7232ebcfed293c9ee7/components/offline_pages/offline_page_model_impl_unittest.cc [modify] https://crrev.com/b057d1e7c41c04cad80cbd7232ebcfed293c9ee7/components/offline_pages/offline_page_test_store.cc [modify] https://crrev.com/b057d1e7c41c04cad80cbd7232ebcfed293c9ee7/components/offline_pages/offline_page_test_store.h [modify] https://crrev.com/b057d1e7c41c04cad80cbd7232ebcfed293c9ee7/components/offline_pages/stub_offline_page_model.cc [modify] https://crrev.com/b057d1e7c41c04cad80cbd7232ebcfed293c9ee7/components/offline_pages/stub_offline_page_model.h [modify] https://crrev.com/b057d1e7c41c04cad80cbd7232ebcfed293c9ee7/tools/metrics/histograms/histograms.xml
Issue 613764 has been merged into this issue.
Comment 1 by romax@chromium.org
, Jun 7 2016