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

Unified Diff: components/offline_pages/core/offline_page_feature.cc

Issue 2489443002: Move all components/offline_pages/ files into component/offline_pages/core (Closed)
Patch Set: update Created 4 years, 1 month 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/core/offline_page_feature.cc
diff --git a/components/offline_pages/offline_page_feature.cc b/components/offline_pages/core/offline_page_feature.cc
similarity index 68%
rename from components/offline_pages/offline_page_feature.cc
rename to components/offline_pages/core/offline_page_feature.cc
index f8aeaf030a25afa5deb491b217f791802d752234..04f3fe46589537ed52ae14a336387c00f21e9bf1 100644
--- a/components/offline_pages/offline_page_feature.cc
+++ b/components/offline_pages/core/offline_page_feature.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/offline_pages/offline_page_feature.h"
+#include "components/offline_pages/core/offline_page_feature.h"
#include <string>
@@ -10,17 +10,14 @@
namespace offline_pages {
-const base::Feature kOfflineBookmarksFeature {
- "OfflineBookmarks", base::FEATURE_DISABLED_BY_DEFAULT
-};
+const base::Feature kOfflineBookmarksFeature{"OfflineBookmarks",
+ base::FEATURE_DISABLED_BY_DEFAULT};
-const base::Feature kOffliningRecentPagesFeature {
- "OfflineRecentPages", base::FEATURE_DISABLED_BY_DEFAULT
-};
+const base::Feature kOffliningRecentPagesFeature{
+ "OfflineRecentPages", base::FEATURE_DISABLED_BY_DEFAULT};
-const base::Feature kOfflinePagesCTFeature {
- "OfflinePagesCT", base::FEATURE_ENABLED_BY_DEFAULT
-};
+const base::Feature kOfflinePagesCTFeature{"OfflinePagesCT",
+ base::FEATURE_ENABLED_BY_DEFAULT};
const base::Feature kOfflinePagesSharingFeature{
"OfflinePagesSharing", base::FEATURE_DISABLED_BY_DEFAULT};
@@ -31,16 +28,15 @@ const base::Feature kOfflinePagesSvelteConcurrentLoadingFeature{
const base::Feature kBackgroundLoaderForDownloadsFeature{
"BackgroundLoadingForDownloads", base::FEATURE_ENABLED_BY_DEFAULT};
-const base::Feature kOfflinePagesAsyncDownloadFeature {
- "OfflinePagesAsyncDownload", base::FEATURE_DISABLED_BY_DEFAULT
-};
+const base::Feature kOfflinePagesAsyncDownloadFeature{
+ "OfflinePagesAsyncDownload", base::FEATURE_DISABLED_BY_DEFAULT};
bool IsOfflineBookmarksEnabled() {
return base::FeatureList::IsEnabled(kOfflineBookmarksFeature);
}
bool IsOffliningRecentPagesEnabled() {
- return base::FeatureList::IsEnabled(kOffliningRecentPagesFeature);
+ return base::FeatureList::IsEnabled(kOffliningRecentPagesFeature);
}
bool IsOfflinePagesSvelteConcurrentLoadingEnabled() {

Powered by Google App Engine
This is Rietveld 408576698