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

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

Issue 2720613002: Downloads: Added transient flag to download item and download database (Closed)
Patch Set: Fixed migration unit test Created 3 years, 10 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 0703a43313843e960ebad63ba2f35ecc1384de19..cc28e317d0cbeeaa8264339d625aaf8e09d8bcd0 100644
--- a/content/public/test/mock_download_item.h
+++ b/content/public/test/mock_download_item.h
@@ -99,6 +99,7 @@ class MockDownloadItem : public DownloadItem {
MOCK_METHOD0(GetAutoOpened, bool());
MOCK_CONST_METHOD0(GetOpened, bool());
MOCK_CONST_METHOD0(GetLastAccessTime, base::Time());
+ MOCK_CONST_METHOD0(IsVisible, bool());
MOCK_CONST_METHOD0(GetBrowserContext, BrowserContext*());
MOCK_CONST_METHOD0(GetWebContents, WebContents*());
MOCK_METHOD1(OnContentCheckCompleted, void(DownloadDangerType));

Powered by Google App Engine
This is Rietveld 408576698