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

Unified Diff: components/offline_pages/offline_page_feature.cc

Issue 2483463002: [Offline Pages] Feature flag to allow concurrent background loading on svelte (Closed)
Patch Set: Merge Created 4 years, 1 month 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
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
index e64dea3fd763d9abfaf9aa5128c121c740eef419..f8aeaf030a25afa5deb491b217f791802d752234 100644
--- a/components/offline_pages/offline_page_feature.cc
+++ b/components/offline_pages/offline_page_feature.cc
@@ -25,6 +25,9 @@ const base::Feature kOfflinePagesCTFeature {
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};
@@ -40,6 +43,11 @@ bool IsOffliningRecentPagesEnabled() {
return base::FeatureList::IsEnabled(kOffliningRecentPagesFeature);
}
+bool IsOfflinePagesSvelteConcurrentLoadingEnabled() {
+ return base::FeatureList::IsEnabled(
+ kOfflinePagesSvelteConcurrentLoadingFeature);
+}
+
bool IsOfflinePagesCTEnabled() {
return base::FeatureList::IsEnabled(kOfflinePagesCTFeature);
}
« no previous file with comments | « components/offline_pages/offline_page_feature.h ('k') | components/offline_pages/offline_page_model_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698