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

Unified Diff: components/offline_pages/offline_page_feature.cc

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 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..b4620fc13ea57c78383ed8738b5be7983af317c6 100644
--- a/components/offline_pages/offline_page_feature.cc
+++ b/components/offline_pages/offline_page_feature.cc
@@ -32,6 +32,10 @@ const base::Feature kOfflinePagesSharingFeature{
const base::Feature kBackgroundLoaderForDownloadsFeature{
"BackgroundLoadingForDownloads", base::FEATURE_ENABLED_BY_DEFAULT};
+const base::Feature kOfflinePagesAsyncDownloadFeature {
+ "OfflinePagesAsyncDownload", base::FEATURE_DISABLED_BY_DEFAULT
+};
+
bool IsOfflineBookmarksEnabled() {
return base::FeatureList::IsEnabled(kOfflineBookmarksFeature);
}
@@ -56,4 +60,8 @@ bool IsBackgroundLoaderForDownloadsEnabled() {
return base::FeatureList::IsEnabled(kBackgroundLoaderForDownloadsFeature);
}
+bool IsOfflinePagesAsyncDownloadEnabled() {
+ return base::FeatureList::IsEnabled(kOfflinePagesAsyncDownloadFeature);
+}
+
} // namespace offline_pages
« no previous file with comments | « components/offline_pages/offline_page_feature.h ('k') | components/password_manager/sync/browser/password_model_worker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698