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

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

Issue 7796014: Make cancel remove cancelled download from active queues at time of cancel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes from running tests locally in Sandbox. Created 9 years, 3 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/mock_download_manager_delegate.h" 5 #include "content/browser/download/mock_download_manager_delegate.h"
6 6
7 MockDownloadManagerDelegate::~MockDownloadManagerDelegate() { 7 MockDownloadManagerDelegate::~MockDownloadManagerDelegate() {
8 } 8 }
9 9
10 void MockDownloadManagerDelegate::Shutdown() { 10 void MockDownloadManagerDelegate::Shutdown() {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 void MockDownloadManagerDelegate::UpdateItemInPersistentStore( 54 void MockDownloadManagerDelegate::UpdateItemInPersistentStore(
55 DownloadItem* item) { 55 DownloadItem* item) {
56 } 56 }
57 57
58 void MockDownloadManagerDelegate::UpdatePathForItemInPersistentStore( 58 void MockDownloadManagerDelegate::UpdatePathForItemInPersistentStore(
59 DownloadItem* item, 59 DownloadItem* item,
60 const FilePath& new_path) { 60 const FilePath& new_path) {
61 } 61 }
62 62
63 void MockDownloadManagerDelegate::RemoveItemFromPersistentStore( 63 void MockDownloadManagerDelegate::RemoveItemFromPersistentStore(
64 DownloadItem* item) { 64 int64 db_handle) {
65 } 65 }
66 66
67 void MockDownloadManagerDelegate::RemoveItemsFromPersistentStoreBetween( 67 void MockDownloadManagerDelegate::RemoveItemsFromPersistentStoreBetween(
68 const base::Time remove_begin, 68 const base::Time remove_begin,
69 const base::Time remove_end) { 69 const base::Time remove_end) {
70 } 70 }
71 71
72 void MockDownloadManagerDelegate::GetSaveDir( 72 void MockDownloadManagerDelegate::GetSaveDir(
73 TabContents* tab_contents, 73 TabContents* tab_contents,
74 FilePath* website_save_dir, 74 FilePath* website_save_dir,
75 FilePath* download_save_dir) { 75 FilePath* download_save_dir) {
76 } 76 }
77 77
78 void MockDownloadManagerDelegate::ChooseSavePath( 78 void MockDownloadManagerDelegate::ChooseSavePath(
79 const base::WeakPtr<SavePackage>& save_package, 79 const base::WeakPtr<SavePackage>& save_package,
80 const FilePath& suggested_path, 80 const FilePath& suggested_path,
81 bool can_save_as_complete) { 81 bool can_save_as_complete) {
82 } 82 }
83 83
84 void MockDownloadManagerDelegate::DownloadProgressUpdated() { 84 void MockDownloadManagerDelegate::DownloadProgressUpdated() {
85 } 85 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698