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

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

Issue 2739033005: Moving previews code from components/ to chrome/ (Closed)
Patch Set: tbansal comments Created 3 years, 9 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 | « components/previews/core/previews_experiments.cc ('k') | components/previews/core/previews_io_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 faf92ccaa05cc61baaf8d2385a0b6359e64b8df0..f96fb55a4c74e2a894109f4d04dd29bc4b298b43 100644
--- a/components/previews/core/previews_experiments_unittest.cc
+++ b/components/previews/core/previews_experiments_unittest.cc
@@ -145,13 +145,13 @@ void VerifyNewParams() {
// Verifies that we can enable offline previews via field trial.
TEST_F(PreviewsExperimentsTest, TestFieldTrialOfflinePage) {
EXPECT_FALSE(IsIncludedInClientSidePreviewsExperimentsFieldTrial());
- EXPECT_FALSE(IsPreviewsTypeEnabled(PreviewsType::OFFLINE));
+ EXPECT_FALSE(params::IsOfflinePreviewsEnabled());
base::FieldTrialList field_trial_list(nullptr);
ASSERT_TRUE(EnableOfflinePreviewsForTesting());
EXPECT_TRUE(IsIncludedInClientSidePreviewsExperimentsFieldTrial());
- EXPECT_TRUE(IsPreviewsTypeEnabled(PreviewsType::OFFLINE));
+ EXPECT_TRUE(params::IsOfflinePreviewsEnabled());
variations::testing::ClearAllVariationParams();
}
« no previous file with comments | « components/previews/core/previews_experiments.cc ('k') | components/previews/core/previews_io_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698