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

Unified Diff: components/offline_pages/offline_page_feature.cc

Issue 2317723003: [Offline Pages] Removes the deprecated IsOfflinePages synthetic flag since no uses of it remain. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « components/offline_pages/offline_page_feature.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 bee289a57ceae98ca845f6f4aca485c140bcbcf3..c469846124d11c98ca28a60808c2173f253e38d4 100644
--- a/components/offline_pages/offline_page_feature.cc
+++ b/components/offline_pages/offline_page_feature.cc
@@ -32,12 +32,6 @@ const base::Feature kOfflinePagesSharingFeature{
const base::Feature kBackgroundLoaderForDownloadsFeature{
"BackgroundLoadingForDownloads", base::FEATURE_ENABLED_BY_DEFAULT};
-bool IsOfflinePagesEnabled() {
- return IsOfflineBookmarksEnabled() || IsOffliningRecentPagesEnabled() ||
- IsOfflinePagesBackgroundLoadingEnabled() ||
- IsOfflinePagesCTEnabled() || IsOfflinePagesSharingEnabled();
-}
-
bool IsOfflineBookmarksEnabled() {
return base::FeatureList::IsEnabled(kOfflineBookmarksFeature);
}
« no previous file with comments | « components/offline_pages/offline_page_feature.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698