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

Unified Diff: chrome/browser/ntp_snippets/download_suggestions_provider_unittest.cc

Issue 2704203002: Merge "[NTP:Downloads] Request offline pages even if model is not ..." (Closed)
Patch Set: 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
« no previous file with comments | « chrome/browser/ntp_snippets/download_suggestions_provider.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ntp_snippets/download_suggestions_provider_unittest.cc
diff --git a/chrome/browser/ntp_snippets/download_suggestions_provider_unittest.cc b/chrome/browser/ntp_snippets/download_suggestions_provider_unittest.cc
index f63cfce992910b00eccfb5a3ca2ceb4bef4fa123..2c8308336d0573f74002b6b1f9fe39a37266f0bc 100644
--- a/chrome/browser/ntp_snippets/download_suggestions_provider_unittest.cc
+++ b/chrome/browser/ntp_snippets/download_suggestions_provider_unittest.cc
@@ -827,7 +827,6 @@ TEST_F(DownloadSuggestionsProviderTest,
IgnoreOnCategoryStatusChangedToAvailable();
*(offline_pages_model()->mutable_items()) = CreateDummyOfflinePages({1, 2});
- offline_pages_model()->set_is_loaded(true);
EXPECT_CALL(*observer(), OnNewSuggestions(_, downloads_category(),
UnorderedElementsAre(
HasUrl("http://dummy.com/1"),
@@ -929,7 +928,6 @@ TEST_F(DownloadSuggestionsProviderTest,
IgnoreOnSuggestionInvalidated();
*(offline_pages_model()->mutable_items()) = CreateDummyOfflinePages({1, 2});
- offline_pages_model()->set_is_loaded(true);
EXPECT_CALL(*observer(), OnNewSuggestions(_, downloads_category(),
UnorderedElementsAre(
HasUrl("http://dummy.com/1"),
« no previous file with comments | « chrome/browser/ntp_snippets/download_suggestions_provider.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698