Index: components/offline_pages/offline_page_feature.cc |
diff --git a/components/offline_pages/offline_page_feature.cc b/components/offline_pages/offline_page_feature.cc |
deleted file mode 100644 |
index 99c0555ae92c7ea32a6b0c1691d0551e2c979bbd..0000000000000000000000000000000000000000 |
--- a/components/offline_pages/offline_page_feature.cc |
+++ /dev/null |
@@ -1,75 +0,0 @@ |
-// Copyright 2015 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/offline_pages/offline_page_feature.h" |
- |
-#include <string> |
- |
-#include "base/feature_list.h" |
- |
-namespace offline_pages { |
- |
-const base::Feature kOfflineBookmarksFeature { |
- "OfflineBookmarks", base::FEATURE_DISABLED_BY_DEFAULT |
-}; |
- |
-const base::Feature kOffliningRecentPagesFeature { |
- "OfflineRecentPages", base::FEATURE_DISABLED_BY_DEFAULT |
-}; |
- |
-const base::Feature kOfflinePagesCTFeature { |
- "OfflinePagesCT", base::FEATURE_ENABLED_BY_DEFAULT |
-}; |
- |
-const base::Feature kOfflinePagesSharingFeature{ |
- "OfflinePagesSharing", base::FEATURE_DISABLED_BY_DEFAULT}; |
- |
-const base::Feature kOfflinePagesSvelteConcurrentLoadingFeature{ |
- "OfflinePagesSvelteConcurrentLoading", base::FEATURE_DISABLED_BY_DEFAULT}; |
- |
-const base::Feature kBackgroundLoaderForDownloadsFeature{ |
- "BackgroundLoadingForDownloads", base::FEATURE_ENABLED_BY_DEFAULT}; |
- |
-const base::Feature kOfflinePagesAsyncDownloadFeature { |
- "OfflinePagesAsyncDownload", base::FEATURE_DISABLED_BY_DEFAULT |
-}; |
- |
-const base::Feature kNewBackgroundLoaderFeature { |
- "BackgroundLoader", base::FEATURE_DISABLED_BY_DEFAULT |
-}; |
- |
-bool IsOfflineBookmarksEnabled() { |
- return base::FeatureList::IsEnabled(kOfflineBookmarksFeature); |
-} |
- |
-bool IsOffliningRecentPagesEnabled() { |
- return base::FeatureList::IsEnabled(kOffliningRecentPagesFeature); |
-} |
- |
-bool IsOfflinePagesSvelteConcurrentLoadingEnabled() { |
- return base::FeatureList::IsEnabled( |
- kOfflinePagesSvelteConcurrentLoadingFeature); |
-} |
- |
-bool IsOfflinePagesCTEnabled() { |
- return base::FeatureList::IsEnabled(kOfflinePagesCTFeature); |
-} |
- |
-bool IsOfflinePagesSharingEnabled() { |
- return base::FeatureList::IsEnabled(kOfflinePagesSharingFeature); |
-} |
- |
-bool IsBackgroundLoaderForDownloadsEnabled() { |
- return base::FeatureList::IsEnabled(kBackgroundLoaderForDownloadsFeature); |
-} |
- |
-bool IsOfflinePagesAsyncDownloadEnabled() { |
- return base::FeatureList::IsEnabled(kOfflinePagesAsyncDownloadFeature); |
-} |
- |
-bool ShouldUseNewBackgroundLoader() { |
- return base::FeatureList::IsEnabled(kNewBackgroundLoaderFeature); |
-} |
- |
-} // namespace offline_pages |