| Index: content/browser/download/download_item_impl_delegate.cc
|
| ===================================================================
|
| --- content/browser/download/download_item_impl_delegate.cc (revision 154444)
|
| +++ content/browser/download/download_item_impl_delegate.cc (working copy)
|
| @@ -2,11 +2,9 @@
|
| // 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
|
| @@ -27,15 +25,12 @@
|
| --count_;
|
| }
|
|
|
| -void DownloadItemImplDelegate::DelegateStart(
|
| - DownloadItemImpl* download_item) {}
|
| -
|
| -bool DownloadItemImplDelegate::ShouldOpenDownload(DownloadItemImpl* download) {
|
| +bool DownloadItemImplDelegate::ShouldOpenFileBasedOnExtension(
|
| + const FilePath& path) {
|
| return false;
|
| }
|
|
|
| -bool DownloadItemImplDelegate::ShouldOpenFileBasedOnExtension(
|
| - const FilePath& path) {
|
| +bool DownloadItemImplDelegate::ShouldOpenDownload(DownloadItemImpl* download) {
|
| return false;
|
| }
|
|
|
|
|