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

Unified Diff: components/offline_pages/offline_page_feature.cc

Issue 2489443002: Move all components/offline_pages/ files into component/offline_pages/core (Closed)
Patch Set: rebase Created 4 years 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/offline_pages/offline_page_feature.h ('k') | components/offline_pages/offline_page_item.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « components/offline_pages/offline_page_feature.h ('k') | components/offline_pages/offline_page_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698