Index: chrome/browser/android/offline_pages/offline_page_tab_helper.h |
diff --git a/chrome/browser/android/offline_pages/offline_page_tab_helper.h b/chrome/browser/android/offline_pages/offline_page_tab_helper.h |
index 392213d24c74f0eb299302f485009698583bc971..44f912568676bbda7a9b9428af2abde5313492c5 100644 |
--- a/chrome/browser/android/offline_pages/offline_page_tab_helper.h |
+++ b/chrome/browser/android/offline_pages/offline_page_tab_helper.h |
@@ -52,6 +52,11 @@ class OfflinePageTabHelper : |
// tab. This can be used to by the Tab to synchronously ask about the offline |
// info. |
std::unique_ptr<OfflinePageItem> offline_page_; |
+ // Potential new offline page copy. This is reset to nullptr at the start |
+ // of every navigation and set by network request interceptor. If the |
+ // interceptor decided to not use offline page for the navigation or was not |
+ // even invoked (as in case with fragment navigation), this stays nullptr. |
+ std::unique_ptr<OfflinePageItem> new_offline_page_; |
bool reloading_url_on_net_error_ = false; |