summaryrefslogtreecommitdiffstats
path: root/content/browser/download/download_item_impl_delegate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/download/download_item_impl_delegate.cc')
-rw-r--r--content/browser/download/download_item_impl_delegate.cc13
1 files changed, 9 insertions, 4 deletions
diff --git a/content/browser/download/download_item_impl_delegate.cc b/content/browser/download/download_item_impl_delegate.cc
index 4a889f7..0b9ea10 100644
--- a/content/browser/download/download_item_impl_delegate.cc
+++ b/content/browser/download/download_item_impl_delegate.cc
@@ -2,9 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "base/logging.h"
#include "content/browser/download/download_item_impl_delegate.h"
+#include "base/logging.h"
+#include "content/browser/download/download_file_factory.h"
+
class DownloadItemImpl;
// Infrastructure in DownloadItemImplDelegate to assert invariant that
@@ -25,12 +27,15 @@ void DownloadItemImplDelegate::Detach() {
--count_;
}
-bool DownloadItemImplDelegate::ShouldOpenFileBasedOnExtension(
- const FilePath& path) {
+void DownloadItemImplDelegate::DelegateStart(
+ DownloadItemImpl* download_item) {}
+
+bool DownloadItemImplDelegate::ShouldOpenDownload(DownloadItemImpl* download) {
return false;
}
-bool DownloadItemImplDelegate::ShouldOpenDownload(DownloadItemImpl* download) {
+bool DownloadItemImplDelegate::ShouldOpenFileBasedOnExtension(
+ const FilePath& path) {
return false;
}