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

Unified Diff: components/ntp_snippets/content_suggestion.h

Issue 2507793002: [NTP] Propagate OfflineId from C++ for Downloads. (Closed)
Patch Set: removed TODO. Created 4 years, 1 month 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
Index: components/ntp_snippets/content_suggestion.h
diff --git a/components/ntp_snippets/content_suggestion.h b/components/ntp_snippets/content_suggestion.h
index 630b7e5ad65efe1740c13d78cd0807a3dea7a7d5..e07738a9a58c2215b33902709d247f75d527d3c8 100644
--- a/components/ntp_snippets/content_suggestion.h
+++ b/components/ntp_snippets/content_suggestion.h
@@ -24,6 +24,8 @@ struct DownloadSuggestionExtra {
base::FilePath target_file_path;
// The effective MIME type of downloaded content.
std::string mime_type;
+ // Underlying offline page identifier.
+ std::string offline_page_id;
// Whether or not the download suggestion is a downloaded asset.
bool is_download_asset = false;
Marc Treib 2016/11/16 15:22:58 Hm, this is now a bit messy... if is_download_asse
vitaliii 2016/11/16 15:45:08 It is other way around. When is_download_asset is
};

Powered by Google App Engine
This is Rietveld 408576698