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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 } | 49 } |
50 | 50 |
51 bool DownloadItemImplDelegate::ShouldOpenFileBasedOnExtension( | 51 bool DownloadItemImplDelegate::ShouldOpenFileBasedOnExtension( |
52 const FilePath& path) { | 52 const 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( |
| 60 scoped_ptr<DownloadUrlParameters> params, content::DownloadId id) {} |
| 61 |
59 BrowserContext* DownloadItemImplDelegate::GetBrowserContext() const { | 62 BrowserContext* DownloadItemImplDelegate::GetBrowserContext() const { |
60 return NULL; | 63 return NULL; |
61 } | 64 } |
62 | 65 |
63 void DownloadItemImplDelegate::UpdatePersistence(DownloadItemImpl* download) {} | 66 void DownloadItemImplDelegate::UpdatePersistence(DownloadItemImpl* download) {} |
64 | 67 |
65 void DownloadItemImplDelegate::DownloadStopped(DownloadItemImpl* download) {} | 68 void DownloadItemImplDelegate::DownloadStopped(DownloadItemImpl* download) {} |
66 | 69 |
67 void DownloadItemImplDelegate::DownloadCompleted(DownloadItemImpl* download) {} | 70 void DownloadItemImplDelegate::DownloadCompleted(DownloadItemImpl* download) {} |
68 | 71 |
69 void DownloadItemImplDelegate::DownloadOpened(DownloadItemImpl* download) {} | 72 void DownloadItemImplDelegate::DownloadOpened(DownloadItemImpl* download) {} |
70 | 73 |
71 void DownloadItemImplDelegate::DownloadRemoved(DownloadItemImpl* download) {} | 74 void DownloadItemImplDelegate::DownloadRemoved(DownloadItemImpl* download) {} |
72 | 75 |
73 void DownloadItemImplDelegate::ShowDownloadInBrowser( | 76 void DownloadItemImplDelegate::ShowDownloadInBrowser( |
74 DownloadItemImpl* download) {} | 77 DownloadItemImpl* download) {} |
75 | 78 |
76 void DownloadItemImplDelegate::AssertStateConsistent( | 79 void DownloadItemImplDelegate::AssertStateConsistent( |
77 DownloadItemImpl* download) const {} | 80 DownloadItemImpl* download) const {} |
78 | 81 |
79 } // namespace content | 82 } // namespace content |
OLD | NEW |