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

Unified Diff: chrome/browser/ntp_snippets/download_suggestions_provider.h

Issue 2662623003: Enable download home by default (Closed)
Patch Set: Created 3 years, 11 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
Index: chrome/browser/ntp_snippets/download_suggestions_provider.h
diff --git a/chrome/browser/ntp_snippets/download_suggestions_provider.h b/chrome/browser/ntp_snippets/download_suggestions_provider.h
index a6f2fb39baface16a0468e04516fefc38febc339..59bf356f557328a90abd3ced220aa8b826f48c8b 100644
--- a/chrome/browser/ntp_snippets/download_suggestions_provider.h
+++ b/chrome/browser/ntp_snippets/download_suggestions_provider.h
@@ -46,8 +46,7 @@ class DownloadSuggestionsProvider
offline_pages::OfflinePageModel* offline_page_model,
content::DownloadManager* download_manager,
DownloadHistory* download_history,
- PrefService* pref_service,
- bool download_manager_ui_enabled);
+ PrefService* pref_service);
~DownloadSuggestionsProvider() override;
// ContentSuggestionsProvider implementation.
@@ -222,10 +221,6 @@ class DownloadSuggestionsProvider
// the criteria above are cached, otherwise only |kMaxSuggestionsCount|.
std::vector<const content::DownloadItem*> cached_asset_downloads_;
- // Whether the Download Manager UI is enabled, in which case the More button
- // for the Downloads section can redirect there.
- const bool download_manager_ui_enabled_;
-
bool is_asset_downloads_initialization_complete_;
base::WeakPtrFactory<DownloadSuggestionsProvider> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698