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

Unified Diff: chrome/browser/android/download/chrome_duplicate_download_infobar_delegate.h

Issue 2453633006: [downloads] Move platform specific code out of DownloadTargetDeterminer. (Closed)
Patch Set: . Created 3 years, 9 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/android/download/chrome_duplicate_download_infobar_delegate.h
diff --git a/chrome/browser/android/download/chrome_duplicate_download_infobar_delegate.h b/chrome/browser/android/download/chrome_duplicate_download_infobar_delegate.h
index 0962cbe90bbe29490789e7f10166f2efc3bc6a2f..6de397a873459f98c1780a9ac1dd67388ed7698f 100644
--- a/chrome/browser/android/download/chrome_duplicate_download_infobar_delegate.h
+++ b/chrome/browser/android/download/chrome_duplicate_download_infobar_delegate.h
@@ -29,7 +29,7 @@ class ChromeDuplicateDownloadInfoBarDelegate
InfoBarService* infobar_service,
content::DownloadItem* download_item,
const base::FilePath& file_path,
- const DownloadTargetDeterminerDelegate::FileSelectedCallback&
+ const DownloadTargetDeterminerDelegate::ConfirmationCallback&
file_selected_callback);
// content::DownloadItem::Observer
@@ -39,7 +39,7 @@ class ChromeDuplicateDownloadInfoBarDelegate
ChromeDuplicateDownloadInfoBarDelegate(
content::DownloadItem* download_item,
const base::FilePath& file_path,
- const DownloadTargetDeterminerDelegate::FileSelectedCallback& callback);
+ const DownloadTargetDeterminerDelegate::ConfirmationCallback& callback);
// DownloadOverwriteInfoBarDelegate:
infobars::InfoBarDelegate::InfoBarIdentifier GetIdentifier() const override;
@@ -63,7 +63,7 @@ class ChromeDuplicateDownloadInfoBarDelegate
// A callback to download target determiner to notify that file selection
// is made (or cancelled).
- DownloadTargetDeterminerDelegate::FileSelectedCallback
+ DownloadTargetDeterminerDelegate::ConfirmationCallback
file_selected_callback_;
DISALLOW_COPY_AND_ASSIGN(ChromeDuplicateDownloadInfoBarDelegate);
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/android/download/chrome_duplicate_download_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698