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

Unified Diff: content/browser/download/download_item_impl_unittest.cc

Issue 1418663010: Adding WebContent-free Download (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years 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/browser/download/download_item_impl_unittest.cc
diff --git a/content/browser/download/download_item_impl_unittest.cc b/content/browser/download/download_item_impl_unittest.cc
index 786d90311049b1fac20367975848dbc48aed379b..6a3b38df9875329bde35bd259a5fea81cfe28aac 100644
--- a/content/browser/download/download_item_impl_unittest.cc
+++ b/content/browser/download/download_item_impl_unittest.cc
@@ -60,7 +60,9 @@ class MockDelegate : public DownloadItemImplDelegate {
MOCK_METHOD2(MockResumeInterruptedDownload,
void(DownloadUrlParameters* params, uint32 id));
- MOCK_CONST_METHOD0(GetBrowserContext, BrowserContext*());
+ BrowserContext* GetBrowserContext() const override {
+ return nullptr;
asanka 2015/12/08 16:58:32 Why was this necessary? When testing ResumeInterr
svaldez 2015/12/08 20:39:26 Without either a WebContents or Browser/ResourceCo
+ }
MOCK_METHOD1(UpdatePersistence, void(DownloadItemImpl*));
MOCK_METHOD1(DownloadOpened, void(DownloadItemImpl*));
MOCK_METHOD1(DownloadRemoved, void(DownloadItemImpl*));

Powered by Google App Engine
This is Rietveld 408576698