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

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

Issue 2029903002: Add token field to ClientSafeBrowsingReportReqeust (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweak comments Created 4 years, 6 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 2ac6bbcdc6a0436dff54c6bfbcabd33886bc2f1c..c4157c639bba443c16d63126cbfeb87107ddff1d 100644
--- a/content/public/test/mock_download_item.h
+++ b/content/public/test/mock_download_item.h
@@ -98,11 +98,13 @@ class MockDownloadItem : public DownloadItem {
MOCK_CONST_METHOD0(GetOpened, bool());
MOCK_CONST_METHOD0(GetBrowserContext, BrowserContext*());
MOCK_CONST_METHOD0(GetWebContents, WebContents*());
- MOCK_METHOD1(OnContentCheckCompleted, void(DownloadDangerType));
+ MOCK_METHOD2(OnContentCheckCompleted, void(DownloadDangerType,
+ const std::string&));
MOCK_METHOD1(SetOpenWhenComplete, void(bool));
MOCK_METHOD1(SetIsTemporary, void(bool));
MOCK_METHOD1(SetOpened, void(bool));
MOCK_METHOD1(SetDisplayName, void(const base::FilePath&));
+ MOCK_CONST_METHOD0(GetDownloadPingToken, std::string());
MOCK_CONST_METHOD1(DebugString, std::string(bool));
private:

Powered by Google App Engine
This is Rietveld 408576698