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

Unified Diff: components/offline_pages/offline_page_feature.h

Issue 2254343002: Add new feature flag to enable background loader for downloads (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/offline_page_feature.h
diff --git a/components/offline_pages/offline_page_feature.h b/components/offline_pages/offline_page_feature.h
index fee2325e260ed863fd340a0db7ae652ef8fc1cc3..3e60e7071afa9546145ce04b2504f48da462a6cf 100644
--- a/components/offline_pages/offline_page_feature.h
+++ b/components/offline_pages/offline_page_feature.h
@@ -15,6 +15,7 @@ extern const base::Feature kOffliningRecentPagesFeature;
extern const base::Feature kOfflinePagesBackgroundLoadingFeature;
extern const base::Feature kOfflinePagesCTFeature;
extern const base::Feature kOfflinePagesSharingFeature;
+extern const base::Feature kBackgroundLoaderForDownloads;
// Returns true if offline pages, as result of one or more offline features
// being enabled, is enabled.
@@ -35,6 +36,8 @@ bool IsOfflinePagesCTEnabled();
// Returns true if offline page sharing is enabled.
bool IsOfflinePagesSharingEnabled();
+bool IsBackgroundLoaderForDownloadsEnabled();
+
} // namespace offline_pages
#endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_FEATURE_H_>>>> Flag for Offline

Powered by Google App Engine
This is Rietveld 408576698