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

Unified Diff: content/public/test/mock_download_manager.h

Issue 2720613002: Downloads: Added transient flag to download item and download database (Closed)
Patch Set: fix tests Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/test/mock_download_item.h ('k') | content/public/test/mock_download_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/mock_download_manager.h
diff --git a/content/public/test/mock_download_manager.h b/content/public/test/mock_download_manager.h
index 4da5ff5b7d04f5c9da7db95cb1008b2d934dc32e..41ca921e749274316d123a8b3b8a9e6b884729d7 100644
--- a/content/public/test/mock_download_manager.h
+++ b/content/public/test/mock_download_manager.h
@@ -53,6 +53,7 @@ class MockDownloadManager : public DownloadManager {
DownloadInterruptReason interrupt_reason;
bool opened;
base::Time last_access_time;
+ bool transient;
std::vector<DownloadItem::ReceivedSlice> received_slices;
CreateDownloadItemAdapter(
@@ -79,6 +80,7 @@ class MockDownloadManager : public DownloadManager {
DownloadInterruptReason interrupt_reason,
bool opened,
base::Time last_access_time,
+ bool transient,
const std::vector<DownloadItem::ReceivedSlice>& received_slices);
// Required by clang compiler.
CreateDownloadItemAdapter(const CreateDownloadItemAdapter& rhs);
@@ -141,6 +143,7 @@ class MockDownloadManager : public DownloadManager {
DownloadInterruptReason interrupt_reason,
bool opened,
base::Time last_access_time,
+ bool transient,
const std::vector<DownloadItem::ReceivedSlice>& received_slices) override;
MOCK_METHOD1(MockCreateDownloadItem,
« no previous file with comments | « content/public/test/mock_download_item.h ('k') | content/public/test/mock_download_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698