Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Unified Diff: chrome/browser/android/offline_pages/offline_page_tab_helper.cc

Issue 2260963003: [Offline pages] Enabling notifications for pages saved later (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing missed TODO Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/android/offline_pages/request_coordinator_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/offline_pages/offline_page_tab_helper.cc
diff --git a/chrome/browser/android/offline_pages/offline_page_tab_helper.cc b/chrome/browser/android/offline_pages/offline_page_tab_helper.cc
index 2e1715be706a4b5f5594e146cb664df4352bf17f..1922152cd30897aa62eba17bc7c140a651bf1022 100644
--- a/chrome/browser/android/offline_pages/offline_page_tab_helper.cc
+++ b/chrome/browser/android/offline_pages/offline_page_tab_helper.cc
@@ -114,7 +114,8 @@ void OfflinePageTabHelper::DidStartNavigation(
const OfflinePageItem* offline_page =
offline_page_model->MaybeGetPageByOfflineURL(navigated_url);
if (offline_page &&
- offline_page->client_id.name_space == kDownloadNamespace) {
+ (offline_page->client_id.name_space == kDownloadNamespace ||
+ offline_page->client_id.name_space == kAsyncNamespace)) {
offline_page_ = base::MakeUnique<OfflinePageItem>(*offline_page);
return;
}
« no previous file with comments | « no previous file | chrome/browser/android/offline_pages/request_coordinator_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698