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

Unified Diff: components/safe_browsing_db/v4_feature_list.cc

Issue 2964693003: Added experiments section and exported the list of SafeBrowsing features in WebUI (Closed)
Patch Set: Fixed the variable names according to the standard 01 Created 3 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
« no previous file with comments | « components/safe_browsing_db/DEPS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..8185e6fc16d5785e0e030059d8e6bebbdbf07806 100644
--- a/components/safe_browsing_db/v4_feature_list.cc
+++ b/components/safe_browsing_db/v4_feature_list.cc
@@ -2,22 +2,15 @@
// 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"
+#include "base/feature_list.h"
+#include "components/safe_browsing/features.h"
+
namespace safe_browsing {
namespace V4FeatureList {
-namespace {
-
-const base::Feature kLocalDatabaseManagerEnabled{
- "SafeBrowsingV4LocalDatabaseManagerEnabled",
- base::FEATURE_DISABLED_BY_DEFAULT};
-
-const base::Feature kV4OnlyEnabled{"SafeBrowsingV4OnlyEnabled",
- base::FEATURE_DISABLED_BY_DEFAULT};
-
bool IsV4OnlyEnabled() {
return base::FeatureList::IsEnabled(kV4OnlyEnabled);
}
@@ -27,8 +20,6 @@ bool IsLocalDatabaseManagerEnabled() {
IsV4OnlyEnabled();
}
-} // namespace
-
V4UsageStatus GetV4UsageStatus() {
V4UsageStatus v4_usage_status;
if (safe_browsing::V4FeatureList::IsV4OnlyEnabled()) {
« no previous file with comments | « components/safe_browsing_db/DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698