Index: components/safe_browsing_db/v4_feature_list.cc |
diff --git a/components/safe_browsing_db/v4_feature_list.cc b/components/safe_browsing_db/v4_feature_list.cc |
index 9d166e9f15ba360e530f599772d55fc5d5622ad3..a64ab255c2a98390ac5daa24fb4e3d1471470563 100644 |
--- a/components/safe_browsing_db/v4_feature_list.cc |
+++ b/components/safe_browsing_db/v4_feature_list.cc |
@@ -2,14 +2,9 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "base/feature_list.h" |
#include "components/safe_browsing_db/v4_feature_list.h" |
-namespace safe_browsing { |
- |
-namespace V4FeatureList { |
- |
-namespace { |
+namespace features { |
const base::Feature kLocalDatabaseManagerEnabled{ |
"SafeBrowsingV4LocalDatabaseManagerEnabled", |
@@ -18,12 +13,20 @@ const base::Feature kLocalDatabaseManagerEnabled{ |
const base::Feature kV4OnlyEnabled{"SafeBrowsingV4OnlyEnabled", |
base::FEATURE_DISABLED_BY_DEFAULT}; |
+} // namespace features |
+ |
+namespace safe_browsing { |
+ |
+namespace V4FeatureList { |
+ |
+namespace { |
+ |
bool IsV4OnlyEnabled() { |
- return base::FeatureList::IsEnabled(kV4OnlyEnabled); |
+ return base::FeatureList::IsEnabled(features::kV4OnlyEnabled); |
} |
bool IsLocalDatabaseManagerEnabled() { |
- return base::FeatureList::IsEnabled(kLocalDatabaseManagerEnabled) || |
+ return base::FeatureList::IsEnabled(features::kLocalDatabaseManagerEnabled) || |
IsV4OnlyEnabled(); |
} |