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

Unified Diff: components/previews/core/previews_experiments_unittest.cc

Issue 2433793003: Generalize Previews Type code (Closed)
Patch Set: typo Created 4 years, 2 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: components/previews/core/previews_experiments_unittest.cc
diff --git a/components/previews/core/previews_experiments_unittest.cc b/components/previews/core/previews_experiments_unittest.cc
index 1ceb4c6a9eda18f4fabd6c47aa8295053c40baa5..e5d957358c2176b55e6b2b3582e021277c7b613f 100644
--- a/components/previews/core/previews_experiments_unittest.cc
+++ b/components/previews/core/previews_experiments_unittest.cc
@@ -10,20 +10,20 @@
namespace {
using PreviewsExperimentsTest = testing::Test;
} // namespace
namespace previews {
TEST_F(PreviewsExperimentsTest, TestFieldTrialOfflinePage) {
EXPECT_FALSE(IsIncludedInClientSidePreviewsExperimentsFieldTrial());
- EXPECT_FALSE(IsOfflinePreviewsEnabled());
+ EXPECT_FALSE(IsPreviewsTypeEnabled(PreviewsType::OFFLINE));
base::FieldTrialList field_trial_list(nullptr);
ASSERT_TRUE(EnableOfflinePreviewsForTesting());
EXPECT_TRUE(IsIncludedInClientSidePreviewsExperimentsFieldTrial());
- EXPECT_TRUE(IsOfflinePreviewsEnabled());
+ EXPECT_TRUE(IsPreviewsTypeEnabled(PreviewsType::OFFLINE));
}
} // namespace previews

Powered by Google App Engine
This is Rietveld 408576698