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

Unified Diff: content/browser/download/download_manager_impl_unittest.cc

Issue 1513413002: Enable "Hide Extension" option when "Save Link As" on the Mac Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nits. Created 5 years 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 | « content/browser/download/download_manager_impl.cc ('k') | content/browser/download/file_metadata_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_manager_impl_unittest.cc
diff --git a/content/browser/download/download_manager_impl_unittest.cc b/content/browser/download/download_manager_impl_unittest.cc
index 36c074b7cd3d78849a9ec217cacc0c4d3586a112..663b6f78fa6187a2074ff197ea41acdcdb7079a7 100644
--- a/content/browser/download/download_manager_impl_unittest.cc
+++ b/content/browser/download/download_manager_impl_unittest.cc
@@ -93,9 +93,9 @@ class MockDownloadItemImpl : public DownloadItemImpl {
net::BoundNetLog()) {}
virtual ~MockDownloadItemImpl() {}
- MOCK_METHOD4(OnDownloadTargetDetermined,
+ MOCK_METHOD5(OnDownloadTargetDetermined,
void(const base::FilePath&, TargetDisposition,
- DownloadDangerType, const base::FilePath&));
+ DownloadDangerType, const base::FilePath&, bool));
MOCK_METHOD1(AddObserver, void(DownloadItem::Observer*));
MOCK_METHOD1(RemoveObserver, void(DownloadItem::Observer*));
MOCK_METHOD0(UpdateObservers, void());
@@ -558,7 +558,8 @@ class DownloadManagerTest : public testing::Test {
const base::FilePath& target_path,
DownloadItem::TargetDisposition disposition,
DownloadDangerType danger_type,
- const base::FilePath& intermediate_path) {
+ const base::FilePath& intermediate_path,
+ bool hide_file_extension) {
callback_called_ = true;
target_path_ = target_path;
target_disposition_ = disposition;
« no previous file with comments | « content/browser/download/download_manager_impl.cc ('k') | content/browser/download/file_metadata_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698