OLD | NEW |
---|---|
(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 #ifndef COMPONENTS_SAFE_BROWSING_DB_V4_FEATURE_LIST_H_ | |
6 #define COMPONENTS_SAFE_BROWSING_DB_V4_FEATURE_LIST_H_ | |
7 | |
8 namespace safe_browsing { | |
9 | |
10 // Exposes methods to check whether a particular feature has been enabled | |
11 // through Finch. | |
12 class V4FeatureList { | |
Nathan Parker
2016/09/28 22:25:55
Rather than a class, you can just use a namespace.
vakh (use Gerrit instead)
2016/09/28 23:00:01
Good idea. Didn't think of that. Done.
| |
13 public: | |
14 // Is the Pver4 database manager enabled? | |
15 static bool IsLocalDatabaseManagerEnabled(); | |
16 | |
17 // Is the Pver4 database manager doing resource checks in paralled with PVer3? | |
18 static bool IsParallelCheckEnabled(); | |
19 | |
20 private: | |
21 V4FeatureList(); | |
22 }; | |
23 | |
24 } // namespace safe_browsing | |
25 | |
26 #endif // COMPONENTS_SAFE_BROWSING_DB_V4_FEATURE_LIST_H_ | |
OLD | NEW |