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

Unified Diff: components/offline_pages/offline_page_feature.h

Issue 2068393002: Flag for Offline Page Sharing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge flag check statement Created 4 years, 5 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 bdfefaf29962ad7741068adbf83ce07c0d6ac0a5..d28737b6c65e8e11b3e4fde9c05dbf5fb4997245 100644
--- a/components/offline_pages/offline_page_feature.h
+++ b/components/offline_pages/offline_page_feature.h
@@ -13,6 +13,7 @@ namespace offline_pages {
extern const base::Feature kOfflineBookmarksFeature;
extern const base::Feature kOffliningRecentPagesFeature;
extern const base::Feature kOfflinePagesBackgroundLoadingFeature;
+extern const base::Feature kOfflinePagesSharingFeature;
extern const base::Feature kOfflinePagesCTFeature;
// Returns true if offline pages, as result of one or more offline features
@@ -28,6 +29,9 @@ bool IsOffliningRecentPagesEnabled();
// Returns true if saving offline pages in the background is enabled.
bool IsOfflinePagesBackgroundLoadingEnabled();
+// Returns true if offline page sharing is enabled.
+bool IsOfflinePagesSharingEnabled();
+
// Returns true if offline CT features are enabled. See crbug.com/620421.
bool IsOfflinePagesCTEnabled();

Powered by Google App Engine
This is Rietveld 408576698