| 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 fde3a5ee78eaaa8610a3eefb019901018114a513..259908c3d60a0e387bc1cb84419c9fa90bd8e70d 100644
|
| --- a/components/offline_pages/offline_page_feature.h
|
| +++ b/components/offline_pages/offline_page_feature.h
|
| @@ -10,25 +10,17 @@
|
|
|
| namespace offline_pages {
|
|
|
| +extern const base::Feature kOfflineBookmarksFeature;
|
| extern const base::Feature kOffliningRecentPagesFeature;
|
| extern const base::Feature kOfflinePagesBackgroundLoadingFeature;
|
|
|
| -// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.components.offlinepages
|
| -enum class FeatureMode {
|
| - // Offline pages feature is disabled.
|
| - DISABLED,
|
| - // Offline pages feature is enabled, showing bookmarks in UI strings.
|
| - ENABLED_AS_BOOKMARKS,
|
| - // Offline pages feature is enabled, showing saved pages in UI strings.
|
| - ENABLED_AS_SAVED_PAGES
|
| -};
|
| -
|
| -// Returns the mode where Offline Pages feature is running.
|
| -FeatureMode GetOfflinePageFeatureMode();
|
| -
|
| -// Returns true if offline pages is enabled.
|
| +// Returns true if offline pages, as result of one or more offline features
|
| +// being enabled, is enabled.
|
| bool IsOfflinePagesEnabled();
|
|
|
| +// Returns true if offline bookmarks is enabled.
|
| +bool IsOfflineBookmarksEnabled();
|
| +
|
| // Returns true if offlining of recent pages (aka 'Last N pages') is enabled.
|
| bool IsOffliningRecentPagesEnabled();
|
|
|
|
|