| Index: components/ntp_snippets/offline_pages/offline_page_suggestions_provider.cc
|
| diff --git a/components/ntp_snippets/offline_pages/offline_page_suggestions_provider.cc b/components/ntp_snippets/offline_pages/offline_page_suggestions_provider.cc
|
| index ed0dd39dc0c27838594b900d15788f72d3522f5d..25e9b4ebf0b998f7066ed0dfae422d20d253b35c 100644
|
| --- a/components/ntp_snippets/offline_pages/offline_page_suggestions_provider.cc
|
| +++ b/components/ntp_snippets/offline_pages/offline_page_suggestions_provider.cc
|
| @@ -97,6 +97,9 @@ void OfflinePageSuggestionsProvider::OnOfflinePagesLoaded(
|
|
|
| std::vector<ContentSuggestion> suggestions;
|
| for (const OfflinePageItem& item : result) {
|
| + // TODO(pke): Make sure the URL is actually opened as an offline URL.
|
| + // Currently, the browser opens the offline URL and then immediately
|
| + // redirects to the online URL if the device is online.
|
| ContentSuggestion suggestion(
|
| MakeUniqueID(ContentSuggestionsCategory::OFFLINE_PAGES,
|
| base::IntToString(item.offline_id)),
|
|
|