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

Unified Diff: components/offline_pages/client_policy_controller_unittest.cc

Issue 2473953006: Enable downloads UI for NTP-saved pages. (Closed)
Patch Set: Tests now pass. Created 4 years, 1 month 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: components/offline_pages/client_policy_controller_unittest.cc
diff --git a/components/offline_pages/client_policy_controller_unittest.cc b/components/offline_pages/client_policy_controller_unittest.cc
index 0282db1908807f2bcf5abd996cd8ef8ecaa07a8d..930b1d7bddb3616c41d03c4b8b873ffdc0540125 100644
--- a/components/offline_pages/client_policy_controller_unittest.cc
+++ b/components/offline_pages/client_policy_controller_unittest.cc
@@ -142,7 +142,7 @@ TEST_F(ClientPolicyControllerTest, CheckNTPSuggestionsDefined) {
EXPECT_EQ(policy.name_space, kNTPSuggestionsNamespace);
EXPECT_FALSE(isTemporary(policy));
EXPECT_TRUE(controller()->IsRemovedOnCacheReset(kNTPSuggestionsNamespace));
- ExpectDownloadSupport(kNTPSuggestionsNamespace, false);
+ ExpectDownloadSupport(kNTPSuggestionsNamespace, true);
ExpectRecentTab(kNTPSuggestionsNamespace, false);
ExpectOnlyOriginalTab(kNTPSuggestionsNamespace, false);
}

Powered by Google App Engine
This is Rietveld 408576698