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

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: Added flag to LoginCustomFlags histogram 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 c469846124d11c98ca28a60808c2173f253e38d4..c339d1c4eec42c44a03367806c354a06ad543eeb 100644
--- a/components/offline_pages/offline_page_feature.cc
+++ b/components/offline_pages/offline_page_feature.cc
@@ -29,6 +29,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};
@@ -44,6 +47,11 @@ bool IsOfflinePagesBackgroundLoadingEnabled() {
return base::FeatureList::IsEnabled(kOfflinePagesBackgroundLoadingFeature);
}
+bool IsOfflinePagesSvelteConcurrentLoadingEnabled() {
+ return base::FeatureList::IsEnabled(
+ kOfflinePagesSvelteConcurrentLoadingFeature);
+}
+
bool IsOfflinePagesCTEnabled() {
return base::FeatureList::IsEnabled(kOfflinePagesCTFeature);
}

Powered by Google App Engine
This is Rietveld 408576698