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

Unified Diff: components/offline_pages/offline_page_feature.h

Issue 1750883002: Add enable-offlining-recent-pages feature switch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated histogram.xml Created 4 years, 10 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 600140ff2cffbcc6f47ef4a4dd8bf15d5b7fd18f..2117ca0d7ce2547467fb7760158c7447a0610547 100644
--- a/components/offline_pages/offline_page_feature.h
+++ b/components/offline_pages/offline_page_feature.h
@@ -27,6 +27,9 @@ FeatureMode GetOfflinePageFeatureMode();
// Returns true if offline pages is enabled.
bool IsOfflinePagesEnabled();
+// Returns true if offlining of recent pages (aka 'Last N pages') is enabled.
+bool IsOffliningRecentPagesEnabled();
+
} // namespace offline_pages
#endif // defined(OS_ANDROID)

Powered by Google App Engine
This is Rietveld 408576698