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

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

Issue 11571025: Initial CL for Downloads resumption. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporated comments. Created 7 years, 11 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 | Annotate | Revision Log
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 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::DownloadOpened(DownloadItemImpl* download) {} 68 void DownloadItemImplDelegate::DownloadOpened(DownloadItemImpl* download) {}
66 69
67 void DownloadItemImplDelegate::DownloadRemoved(DownloadItemImpl* download) {} 70 void DownloadItemImplDelegate::DownloadRemoved(DownloadItemImpl* download) {}
68 71
69 void DownloadItemImplDelegate::ShowDownloadInBrowser( 72 void DownloadItemImplDelegate::ShowDownloadInBrowser(
70 DownloadItemImpl* download) {} 73 DownloadItemImpl* download) {}
71 74
72 void DownloadItemImplDelegate::AssertStateConsistent( 75 void DownloadItemImplDelegate::AssertStateConsistent(
73 DownloadItemImpl* download) const {} 76 DownloadItemImpl* download) const {}
74 77
75 } // namespace content 78 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698