Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Side by Side Diff: content/browser/download/download_item_impl_delegate.cc

Issue 1751603002: [Downloads] Rework how hashes are calculated for download files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase on top of https://codereview.chromium.org/1781983002 since that's going in first. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « content/browser/download/download_item_impl_delegate.h ('k') | content/browser/download/download_item_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698