[Offline pages]: Add ability to notify apps when pages attributed to them have been changed

Desktop / Chromium - Cathy Li [chromium.org] - 10 August 2017 14:52 EDT

[Offline pages]: Add ability to notify apps when pages attributed to them have been changed.

Bug: 734753 Change-Id: I1e821146ccade5ffd8c19c190fb82f305bfd9a2e Reviewed-on: https://chromium-review.googlesource.com/560796 Commit-Queue: Cathy Li

a6d0ba8 [Offline pages]: Add ability to notify apps when pages attributed to them have been changed.
.../src/org/chromium/chrome/browser/AppHooks.java | 9 ++++
.../offlinepages/CctOfflinePageModelObserver.java | 55 ++++++++++++++++++++++
.../browser/offlinepages/OfflinePageOrigin.java | 48 ++++++++++++++++++-
chrome/android/java_sources.gni | 1 +
chrome/browser/BUILD.gn | 5 +-
.../offline_pages/android/cct_origin_observer.cc | 49 +++++++++++++++++++
.../offline_pages/android/cct_origin_observer.h | 37 +++++++++++++++
.../{ => android}/offline_page_model_factory.cc | 7 ++-
8 files changed, 207 insertions(+), 4 deletions(-)

Upstream: git.chromium.org


  • Share