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

Unified Diff: components/offline_pages/core/offline_page_feature.cc

Issue 2683493002: Get signals working in the EXTRA_DATA section of MHTML (Closed)
Patch Set: Merge changelist with tip of tree Created 3 years, 8 months 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/core/offline_page_feature.cc
diff --git a/components/offline_pages/core/offline_page_feature.cc b/components/offline_pages/core/offline_page_feature.cc
index bfcc1fd2d70f9b209bdc2d4d013c2d847699dac9..9dfab58bfca43a20f3882786b7f5335974549cba 100644
--- a/components/offline_pages/core/offline_page_feature.cc
+++ b/components/offline_pages/core/offline_page_feature.cc
@@ -36,6 +36,9 @@ const base::Feature kOfflinePagesSharingFeature{
const base::Feature kOfflinePagesSvelteConcurrentLoadingFeature{
"OfflinePagesSvelteConcurrentLoading", base::FEATURE_DISABLED_BY_DEFAULT};
+const base::Feature kOfflinePagesLoadSignalCollectingFeature{
+ "OfflinePagesLoadSignalCollecting", base::FEATURE_DISABLED_BY_DEFAULT};
+
const base::Feature kBackgroundLoaderForDownloadsFeature{
"BackgroundLoadingForDownloads", base::FEATURE_ENABLED_BY_DEFAULT};
@@ -82,6 +85,10 @@ bool IsPrefetchingOfflinePagesEnabled() {
return base::FeatureList::IsEnabled(kPrefetchingOfflinePagesFeature);
}
+bool IsOfflinePagesLoadSignalCollectingEnabled() {
+ return base::FeatureList::IsEnabled(kOfflinePagesLoadSignalCollectingFeature);
+}
+
bool ShouldUseNewBackgroundLoader() {
return base::FeatureList::IsEnabled(kNewBackgroundLoaderFeature);
}

Powered by Google App Engine
This is Rietveld 408576698