blob: 833f78db2d3639c774ab1069d4bc9cd57630a348 [file] [log] [blame]
// Copyright 2017 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/core/previews_features.h"
namespace previews {
namespace features {
// Enables the Offline previews on android slow connections.
const base::Feature kOfflinePreviews{"OfflinePreviews",
base::FEATURE_ENABLED_BY_DEFAULT};
// Enables the Client Lo-Fi previews on Android.
const base::Feature kClientLoFi{"ClientLoFi",
base::FEATURE_DISABLED_BY_DEFAULT};
// Enables the NoScript previews for Android.
const base::Feature kNoScriptPreviews{"NoScriptPreviews",
base::FEATURE_DISABLED_BY_DEFAULT};
// Enables the Stale Previews timestamp on Previews infobars.
const base::Feature kStalePreviewsTimestamp{"StalePreviewsTimestamp",
base::FEATURE_ENABLED_BY_DEFAULT};
const base::Feature kAMPRedirection{"AMPRedirectionPreviews",
base::FEATURE_DISABLED_BY_DEFAULT};
// Enables the syncing of the Optimization Hints component, which provides
// hints for what Previews can be applied on a page load.
const base::Feature kOptimizationHints{"OptimizationHints",
base::FEATURE_DISABLED_BY_DEFAULT};
} // namespace features
} // namespace previews