Index: components/safe_browsing_db/v4_feature_list.h |
diff --git a/components/safe_browsing_db/v4_feature_list.h b/components/safe_browsing_db/v4_feature_list.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b30554143a10e4027021ed33da3bd3abae4c114b |
--- /dev/null |
+++ b/components/safe_browsing_db/v4_feature_list.h |
@@ -0,0 +1,24 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef COMPONENTS_SAFE_BROWSING_DB_V4_FEATURE_LIST_H_ |
+#define COMPONENTS_SAFE_BROWSING_DB_V4_FEATURE_LIST_H_ |
+ |
+namespace safe_browsing { |
+ |
+// Exposes methods to check whether a particular feature has been enabled |
+// through Finch. |
+namespace V4FeatureList { |
+ |
+// Is the Pver4 database manager enabled? |
+bool IsLocalDatabaseManagerEnabled(); |
+ |
+// Is the Pver4 database manager doing resource checks in paralled with PVer3? |
+bool IsParallelCheckEnabled(); |
+ |
+} // namespace V4FeatureList |
+ |
+} // namespace safe_browsing |
+ |
+#endif // COMPONENTS_SAFE_BROWSING_DB_V4_FEATURE_LIST_H_ |