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

Unified Diff: chrome/browser/ui/webui/settings/md_settings_ui.cc

Issue 2711823002: MD Settings: Add "Auto Open" setting to Downloads C++ handler. (Closed)
Patch Set: fix teardown Created 3 years, 10 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 | « chrome/browser/ui/webui/settings/downloads_handler_unittest.cc ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/settings/md_settings_ui.cc
diff --git a/chrome/browser/ui/webui/settings/md_settings_ui.cc b/chrome/browser/ui/webui/settings/md_settings_ui.cc
index e5a9ae4d0adaf3aeaa57dfc4fe659f1708d1261c..dd8dcea4cb6be94027348ed2ff9a642672780deb 100644
--- a/chrome/browser/ui/webui/settings/md_settings_ui.cc
+++ b/chrome/browser/ui/webui/settings/md_settings_ui.cc
@@ -93,7 +93,7 @@ MdSettingsUI::MdSettingsUI(content::WebUI* web_ui, const GURL& url)
AddSettingsPageUIHandler(base::MakeUnique<BrowserLifetimeHandler>());
AddSettingsPageUIHandler(base::MakeUnique<ClearBrowsingDataHandler>(web_ui));
AddSettingsPageUIHandler(base::MakeUnique<CookiesViewHandler>());
- AddSettingsPageUIHandler(base::MakeUnique<DownloadsHandler>());
+ AddSettingsPageUIHandler(base::MakeUnique<DownloadsHandler>(profile));
AddSettingsPageUIHandler(base::MakeUnique<ExtensionControlHandler>());
AddSettingsPageUIHandler(base::MakeUnique<FontHandler>(web_ui));
AddSettingsPageUIHandler(base::MakeUnique<ImportDataHandler>());
« no previous file with comments | « chrome/browser/ui/webui/settings/downloads_handler_unittest.cc ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698