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 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 std::string DownloadItemImplDelegate::GetApplicationClientIdForFileScanning() |
| 60 const { |
| 61 return std::string(); |
| 62 } |
| 63 |
59 void DownloadItemImplDelegate::ResumeInterruptedDownload( | 64 void DownloadItemImplDelegate::ResumeInterruptedDownload( |
60 scoped_ptr<DownloadUrlParameters> params, | 65 scoped_ptr<DownloadUrlParameters> params, |
61 uint32_t id) {} | 66 uint32_t id) {} |
62 | 67 |
63 BrowserContext* DownloadItemImplDelegate::GetBrowserContext() const { | 68 BrowserContext* DownloadItemImplDelegate::GetBrowserContext() const { |
64 return NULL; | 69 return NULL; |
65 } | 70 } |
66 | 71 |
67 void DownloadItemImplDelegate::UpdatePersistence(DownloadItemImpl* download) {} | 72 void DownloadItemImplDelegate::UpdatePersistence(DownloadItemImpl* download) {} |
68 | 73 |
69 void DownloadItemImplDelegate::OpenDownload(DownloadItemImpl* download) {} | 74 void DownloadItemImplDelegate::OpenDownload(DownloadItemImpl* download) {} |
70 | 75 |
71 void DownloadItemImplDelegate::ShowDownloadInShell(DownloadItemImpl* download) { | 76 void DownloadItemImplDelegate::ShowDownloadInShell(DownloadItemImpl* download) { |
72 } | 77 } |
73 | 78 |
74 void DownloadItemImplDelegate::DownloadRemoved(DownloadItemImpl* download) {} | 79 void DownloadItemImplDelegate::DownloadRemoved(DownloadItemImpl* download) {} |
75 | 80 |
76 void DownloadItemImplDelegate::AssertStateConsistent( | 81 void DownloadItemImplDelegate::AssertStateConsistent( |
77 DownloadItemImpl* download) const {} | 82 DownloadItemImpl* download) const {} |
78 | 83 |
79 } // namespace content | 84 } // namespace content |
OLD | NEW |