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

Side by Side Diff: components/safe_browsing_db/v4_feature_list.cc

Issue 2377273004: Reland: Start checking URLs using PVer4. Verdict not returned to client yet. (Closed)
Patch Set: Remove #DEBUG -- it enables these features on Android :-( Created 4 years, 2 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "base/feature_list.h"
6 #include "components/safe_browsing_db/v4_feature_list.h"
7
8 namespace safe_browsing {
9
10 namespace V4FeatureList {
11
12 namespace {
13 const base::Feature kLocalDatabaseManagerEnabled{
14 "SafeBrowsingV4LocalDatabaseManagerEnabled",
15 base::FEATURE_DISABLED_BY_DEFAULT};
16
17 const base::Feature kParallelCheckEnabled{"SafeBrowingV4ParallelCheckEnabled",
18 base::FEATURE_DISABLED_BY_DEFAULT};
19 } // namespace
20
21 bool IsLocalDatabaseManagerEnabled() {
22 return IsParallelCheckEnabled() ||
23 base::FeatureList::IsEnabled(kLocalDatabaseManagerEnabled);
24 }
25
26 bool IsParallelCheckEnabled() {
27 return base::FeatureList::IsEnabled(kParallelCheckEnabled);
28 }
29
30 } // namespace V4FeatureList
31
32 } // namespace safe_browsing
OLDNEW
« no previous file with comments | « components/safe_browsing_db/v4_feature_list.h ('k') | components/safe_browsing_db/v4_local_database_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698