| Index: components/offline_pages/core/offline_page_feature.cc
|
| diff --git a/components/offline_pages/offline_page_feature.cc b/components/offline_pages/core/offline_page_feature.cc
|
| similarity index 71%
|
| rename from components/offline_pages/offline_page_feature.cc
|
| rename to components/offline_pages/core/offline_page_feature.cc
|
| index 99c0555ae92c7ea32a6b0c1691d0551e2c979bbd..ef2b4700ca49aa982799f4ad83b8f395822f47c7 100644
|
| --- a/components/offline_pages/offline_page_feature.cc
|
| +++ b/components/offline_pages/core/offline_page_feature.cc
|
| @@ -2,7 +2,7 @@
|
| // 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 "components/offline_pages/core/offline_page_feature.h"
|
|
|
| #include <string>
|
|
|
| @@ -10,17 +10,14 @@
|
|
|
| namespace offline_pages {
|
|
|
| -const base::Feature kOfflineBookmarksFeature {
|
| - "OfflineBookmarks", base::FEATURE_DISABLED_BY_DEFAULT
|
| -};
|
| +const base::Feature kOfflineBookmarksFeature{"OfflineBookmarks",
|
| + base::FEATURE_DISABLED_BY_DEFAULT};
|
|
|
| -const base::Feature kOffliningRecentPagesFeature {
|
| - "OfflineRecentPages", 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 kOfflinePagesCTFeature{"OfflinePagesCT",
|
| + base::FEATURE_ENABLED_BY_DEFAULT};
|
|
|
| const base::Feature kOfflinePagesSharingFeature{
|
| "OfflinePagesSharing", base::FEATURE_DISABLED_BY_DEFAULT};
|
| @@ -31,9 +28,8 @@ const base::Feature kOfflinePagesSvelteConcurrentLoadingFeature{
|
| const base::Feature kBackgroundLoaderForDownloadsFeature{
|
| "BackgroundLoadingForDownloads", base::FEATURE_ENABLED_BY_DEFAULT};
|
|
|
| -const base::Feature kOfflinePagesAsyncDownloadFeature {
|
| - "OfflinePagesAsyncDownload", base::FEATURE_DISABLED_BY_DEFAULT
|
| -};
|
| +const base::Feature kOfflinePagesAsyncDownloadFeature{
|
| + "OfflinePagesAsyncDownload", base::FEATURE_DISABLED_BY_DEFAULT};
|
|
|
| const base::Feature kNewBackgroundLoaderFeature {
|
| "BackgroundLoader", base::FEATURE_DISABLED_BY_DEFAULT
|
| @@ -44,7 +40,7 @@ bool IsOfflineBookmarksEnabled() {
|
| }
|
|
|
| bool IsOffliningRecentPagesEnabled() {
|
| - return base::FeatureList::IsEnabled(kOffliningRecentPagesFeature);
|
| + return base::FeatureList::IsEnabled(kOffliningRecentPagesFeature);
|
| }
|
|
|
| bool IsOfflinePagesSvelteConcurrentLoadingEnabled() {
|
|
|