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

Unified Diff: chrome/browser/ui/webui/options/browser_options_handler.cc

Issue 12662032: Merge SavePackageFilePicker{,ChromeOS} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: @r196175 Created 7 years, 8 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/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..969759d3b1bbdc5dc1b066b625220482efc45da7 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
@@ -1232,6 +1232,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);
asanka 2013/04/24 22:03:13 We should also call ChromeDownloadManagerDelegate:
benjhayden 2013/04/30 21:11:12 Moot -- merged CDMD::last_download_path_ with kSav
}
void BrowserOptionsHandler::OnCloudPrintSetupClosed() {

Powered by Google App Engine
This is Rietveld 408576698