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

Unified Diff: components/offline_pages/offline_page_feature.h

Issue 2489443002: Move all components/offline_pages/ files into component/offline_pages/core (Closed)
Patch Set: rebase Created 4 years 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
deleted file mode 100644
index 63c4134754b570d4883eee935eee558451137697..0000000000000000000000000000000000000000
--- a/components/offline_pages/offline_page_feature.h
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_FEATURE_H_
-#define COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_FEATURE_H_
-
-#include "base/feature_list.h"
-#include "build/build_config.h"
-
-namespace offline_pages {
-
-extern const base::Feature kOfflineBookmarksFeature;
-extern const base::Feature kOffliningRecentPagesFeature;
-extern const base::Feature kOfflinePagesSvelteConcurrentLoadingFeature;
-extern const base::Feature kOfflinePagesCTFeature;
-extern const base::Feature kOfflinePagesSharingFeature;
-extern const base::Feature kBackgroundLoaderForDownloadsFeature;
-extern const base::Feature kOfflinePagesAsyncDownloadFeature;
-extern const base::Feature kNewBackgroundLoaderFeature;
-
-// Returns true if saving bookmarked pages for offline viewing is enabled.
-bool IsOfflineBookmarksEnabled();
-
-// Returns true if offlining of recent pages (aka 'Last N pages') is enabled.
-bool IsOffliningRecentPagesEnabled();
-
-// Returns true if offline CT features are enabled. See crbug.com/620421.
-bool IsOfflinePagesCTEnabled();
-
-// Returns true if offline page sharing is enabled.
-bool IsOfflinePagesSharingEnabled();
-
-// Returns true if saving a foreground tab that is taking too long using the
-// background scheduler is enabled.
-bool IsBackgroundLoaderForDownloadsEnabled();
-
-// Returns true if concurrent background loading is enabled for svelte.
-bool IsOfflinePagesSvelteConcurrentLoadingEnabled();
-
-// Returns true if downloading a page asynchonously is enabled.
-bool IsOfflinePagesAsyncDownloadEnabled();
-
-// Returns true if we should use background loader rather than prerenderer
-// to offline pages.
-bool ShouldUseNewBackgroundLoader();
-
-} // namespace offline_pages
-
-#endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_FEATURE_H_
« no previous file with comments | « components/offline_pages/offline_page_client_policy.h ('k') | components/offline_pages/offline_page_feature.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698