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

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: 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/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 71%
rename from components/offline_pages/offline_page_feature.cc
rename to components/offline_pages/core/offline_page_feature.cc
index 99c0555ae92c7ea32a6b0c1691d0551e2c979bbd..ef2b4700ca49aa982799f4ad83b8f395822f47c7 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,9 +28,8 @@ 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};
const base::Feature kNewBackgroundLoaderFeature {
"BackgroundLoader", base::FEATURE_DISABLED_BY_DEFAULT
@@ -44,7 +40,7 @@ bool IsOfflineBookmarksEnabled() {
}
bool IsOffliningRecentPagesEnabled() {
- return base::FeatureList::IsEnabled(kOffliningRecentPagesFeature);
+ return base::FeatureList::IsEnabled(kOffliningRecentPagesFeature);
}
bool IsOfflinePagesSvelteConcurrentLoadingEnabled() {
« no previous file with comments | « components/offline_pages/core/offline_page_feature.h ('k') | components/offline_pages/core/offline_page_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698