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

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

Issue 14947007: [Downloads] Allow acquiring dangerous download file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
Index: content/public/test/mock_download_item.h
diff --git a/content/public/test/mock_download_item.h b/content/public/test/mock_download_item.h
index fc75efc9f7e88e650d0850656de2b89f5b969c75..9829289fd1adaee6d2b3e1107bad8b8b49b7bfd4 100644
--- a/content/public/test/mock_download_item.h
+++ b/content/public/test/mock_download_item.h
@@ -5,6 +5,7 @@
#ifndef CONTENT_PUBLIC_TEST_MOCK_DOWNLOAD_ITEM_H_
#define CONTENT_PUBLIC_TEST_MOCK_DOWNLOAD_ITEM_H_
+#include "base/callback.h"
#include "base/time.h"
#include "content/public/browser/download_id.h"
#include "content/public/browser/download_interrupt_reasons.h"
@@ -28,6 +29,7 @@ class MockDownloadItem : public DownloadItem {
MOCK_METHOD0(ResumeInterruptedDownload, void());
MOCK_METHOD1(Cancel, void(bool));
MOCK_METHOD1(Delete, void(DeleteReason));
+ MOCK_METHOD1(AcquireFileAndDeleteDownload, void(const AcquireFileCallback&));
MOCK_METHOD0(Remove, void());
MOCK_METHOD0(OpenDownload, void());
MOCK_METHOD0(ShowDownloadInShell, void());
« content/public/browser/download_item.h ('K') | « content/public/browser/download_item.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698