Chromium Code Reviews| Index: chrome/browser/ui/webui/options/browser_options_handler.cc |
| diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc |
| index 5a3ee221daa33fb93928a0fe2150a10f2e6225ae..447ac8367ec0549054d78fae2a98f42568bdb41f 100644 |
| --- a/chrome/browser/ui/webui/options/browser_options_handler.cc |
| +++ b/chrome/browser/ui/webui/options/browser_options_handler.cc |
| @@ -23,7 +23,10 @@ |
| #include "chrome/browser/browser_process.h" |
| #include "chrome/browser/chrome_page_zoom.h" |
| #include "chrome/browser/custom_home_pages_table_model.h" |
| +#include "chrome/browser/download/chrome_download_manager_delegate.h" |
| #include "chrome/browser/download/download_prefs.h" |
| +#include "chrome/browser/download/download_service.h" |
| +#include "chrome/browser/download/download_service_factory.h" |
|
Randy Smith (Not in Mondays)
2013/05/01 19:18:43
Why are all the extra includes needed now?
benjhayden
2013/05/06 20:05:19
Done.
|
| #include "chrome/browser/gpu/gpu_mode_manager.h" |
| #include "chrome/browser/lifetime/application_lifetime.h" |
| #include "chrome/browser/net/url_fixer_upper.h" |
| @@ -1232,6 +1235,7 @@ void BrowserOptionsHandler::FileSelected(const base::FilePath& path, int index, |
| content::RecordAction(UserMetricsAction("Options_SetDownloadDirectory")); |
| PrefService* pref_service = Profile::FromWebUI(web_ui())->GetPrefs(); |
| pref_service->SetFilePath(prefs::kDownloadDefaultDirectory, path); |
| + pref_service->SetFilePath(prefs::kSaveFileDefaultDirectory, path); |
| } |
| void BrowserOptionsHandler::OnCloudPrintSetupClosed() { |