| 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 "base/logging.h" | 5 #include "base/logging.h" |
| 6 #include "content/browser/download/download_item_impl_delegate.h" | 6 #include "content/browser/download/download_item_impl_delegate.h" |
| 7 | 7 |
| 8 class DownloadItemImpl; | 8 class DownloadItemImpl; |
| 9 | 9 |
| 10 // Infrastructure in DownloadItemImplDelegate to assert invariant that | 10 // Infrastructure in DownloadItemImplDelegate to assert invariant that |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 void DownloadItemImplDelegate::CheckForFileRemoval( | 37 void DownloadItemImplDelegate::CheckForFileRemoval( |
| 38 DownloadItemImpl* download_item) {} | 38 DownloadItemImpl* download_item) {} |
| 39 | 39 |
| 40 void DownloadItemImplDelegate::MaybeCompleteDownload( | 40 void DownloadItemImplDelegate::MaybeCompleteDownload( |
| 41 DownloadItemImpl* download) {} | 41 DownloadItemImpl* download) {} |
| 42 | 42 |
| 43 content::BrowserContext* DownloadItemImplDelegate::GetBrowserContext() const { | 43 content::BrowserContext* DownloadItemImplDelegate::GetBrowserContext() const { |
| 44 return NULL; | 44 return NULL; |
| 45 } | 45 } |
| 46 | 46 |
| 47 DownloadFileManager* DownloadItemImplDelegate::GetDownloadFileManager() { |
| 48 return NULL; |
| 49 } |
| 50 |
| 47 void DownloadItemImplDelegate::DownloadStopped(DownloadItemImpl* download) {} | 51 void DownloadItemImplDelegate::DownloadStopped(DownloadItemImpl* download) {} |
| 48 | 52 |
| 49 void DownloadItemImplDelegate::DownloadCompleted(DownloadItemImpl* download) {} | 53 void DownloadItemImplDelegate::DownloadCompleted(DownloadItemImpl* download) {} |
| 50 | 54 |
| 51 void DownloadItemImplDelegate::DownloadOpened(DownloadItemImpl* download) {} | 55 void DownloadItemImplDelegate::DownloadOpened(DownloadItemImpl* download) {} |
| 52 | 56 |
| 53 void DownloadItemImplDelegate::DownloadRemoved(DownloadItemImpl* download) {} | 57 void DownloadItemImplDelegate::DownloadRemoved(DownloadItemImpl* download) {} |
| 54 | 58 |
| 55 void DownloadItemImplDelegate::DownloadRenamedToIntermediateName( | 59 void DownloadItemImplDelegate::DownloadRenamedToIntermediateName( |
| 56 DownloadItemImpl* download) {} | 60 DownloadItemImpl* download) {} |
| 57 | 61 |
| 58 void DownloadItemImplDelegate::DownloadRenamedToFinalName( | 62 void DownloadItemImplDelegate::DownloadRenamedToFinalName( |
| 59 DownloadItemImpl* download) {} | 63 DownloadItemImpl* download) {} |
| 60 | 64 |
| 61 void DownloadItemImplDelegate::AssertStateConsistent( | 65 void DownloadItemImplDelegate::AssertStateConsistent( |
| 62 DownloadItemImpl* download) const {} | 66 DownloadItemImpl* download) const {} |
| OLD | NEW |