| Index: components/previews/previews_experiments_unittest.cc
|
| diff --git a/components/previews/previews_experiments_unittest.cc b/components/previews/previews_experiments_unittest.cc
|
| index c66e2e0ab97d4d1f0cd3051f81ded9780dd519fd..a3a980a8a940119c2edc9ae66f854a32f88a6eaa 100644
|
| --- a/components/previews/previews_experiments_unittest.cc
|
| +++ b/components/previews/previews_experiments_unittest.cc
|
| @@ -1,29 +1,31 @@
|
| // Copyright 2016 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| #include "components/previews/previews_experiments.h"
|
|
|
| #include "base/metrics/field_trial.h"
|
| +#include "components/variations/variations_associated_data.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| namespace {
|
|
|
| using PreviewsExperimentsTest = testing::Test;
|
|
|
| } // namespace
|
|
|
| namespace previews {
|
|
|
| TEST_F(PreviewsExperimentsTest, TestFieldTrialOfflinePage) {
|
| EXPECT_FALSE(IsIncludedInClientSidePreviewsExperimentsFieldTrial());
|
| EXPECT_FALSE(IsOfflinePreviewsEnabled());
|
|
|
| base::FieldTrialList field_trial_list(nullptr);
|
| ASSERT_TRUE(EnableOfflinePreviewsForTesting());
|
|
|
| EXPECT_TRUE(IsIncludedInClientSidePreviewsExperimentsFieldTrial());
|
| EXPECT_TRUE(IsOfflinePreviewsEnabled());
|
| + variations::testing::ClearAllVariationParams();
|
| }
|
|
|
| } // namespace previews
|
|
|