| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/browser/download/download_item_impl_delegate.h" | 5 #include "content/browser/download/download_item_impl_delegate.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "content/browser/download/download_item_impl.h" | 8 #include "content/browser/download/download_item_impl.h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 | 50 |
| 51 bool DownloadItemImplDelegate::ShouldOpenFileBasedOnExtension( | 51 bool DownloadItemImplDelegate::ShouldOpenFileBasedOnExtension( |
| 52 const base::FilePath& path) { | 52 const base::FilePath& path) { |
| 53 return false; | 53 return false; |
| 54 } | 54 } |
| 55 | 55 |
| 56 void DownloadItemImplDelegate::CheckForFileRemoval( | 56 void DownloadItemImplDelegate::CheckForFileRemoval( |
| 57 DownloadItemImpl* download_item) {} | 57 DownloadItemImpl* download_item) {} |
| 58 | 58 |
| 59 void DownloadItemImplDelegate::ResumeInterruptedDownload( | 59 void DownloadItemImplDelegate::ResumeInterruptedDownload( |
| 60 scoped_ptr<DownloadUrlParameters> params, uint32 id) {} | 60 scoped_ptr<DownloadUrlParameters> params, |
| 61 uint32_t id) {} |
| 61 | 62 |
| 62 BrowserContext* DownloadItemImplDelegate::GetBrowserContext() const { | 63 BrowserContext* DownloadItemImplDelegate::GetBrowserContext() const { |
| 63 return NULL; | 64 return NULL; |
| 64 } | 65 } |
| 65 | 66 |
| 66 void DownloadItemImplDelegate::UpdatePersistence(DownloadItemImpl* download) {} | 67 void DownloadItemImplDelegate::UpdatePersistence(DownloadItemImpl* download) {} |
| 67 | 68 |
| 68 void DownloadItemImplDelegate::OpenDownload(DownloadItemImpl* download) {} | 69 void DownloadItemImplDelegate::OpenDownload(DownloadItemImpl* download) {} |
| 69 | 70 |
| 70 void DownloadItemImplDelegate::ShowDownloadInShell(DownloadItemImpl* download) { | 71 void DownloadItemImplDelegate::ShowDownloadInShell(DownloadItemImpl* download) { |
| 71 } | 72 } |
| 72 | 73 |
| 73 void DownloadItemImplDelegate::DownloadRemoved(DownloadItemImpl* download) {} | 74 void DownloadItemImplDelegate::DownloadRemoved(DownloadItemImpl* download) {} |
| 74 | 75 |
| 75 void DownloadItemImplDelegate::AssertStateConsistent( | 76 void DownloadItemImplDelegate::AssertStateConsistent( |
| 76 DownloadItemImpl* download) const {} | 77 DownloadItemImpl* download) const {} |
| 77 | 78 |
| 78 } // namespace content | 79 } // namespace content |
| OLD | NEW |