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 1d01a2d495ca35640c9e0cc0b17e3281d87a078a..fde3a5ee78eaaa8610a3eefb019901018114a513 100644 |
--- a/components/offline_pages/offline_page_feature.h |
+++ b/components/offline_pages/offline_page_feature.h |
@@ -11,6 +11,7 @@ |
namespace offline_pages { |
extern const base::Feature kOffliningRecentPagesFeature; |
+extern const base::Feature kOfflinePagesBackgroundLoadingFeature; |
// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.components.offlinepages |
enum class FeatureMode { |
@@ -31,6 +32,9 @@ bool IsOfflinePagesEnabled(); |
// Returns true if offlining of recent pages (aka 'Last N pages') is enabled. |
bool IsOffliningRecentPagesEnabled(); |
+// Returns true if saving offline pages in the background is enabled. |
+bool IsOfflinePagesBackgroundLoadingEnabled(); |
+ |
} // namespace offline_pages |
#endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_FEATURE_H_ |