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

Unified Diff: components/safe_browsing/features.h

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/BUILD.gn ('k') | components/safe_browsing/features.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/safe_browsing/features.h
diff --git a/components/safe_browsing/features.h b/components/safe_browsing/features.h
new file mode 100644
index 0000000000000000000000000000000000000000..c4a0a1243a0eec518d89eacbb5aff4883472f64c
--- /dev/null
+++ b/components/safe_browsing/features.h
@@ -0,0 +1,29 @@
+// Copyright (c) 2017 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_FEATURES_H_
+#define COMPONENTS_SAFE_BROWSING_FEATURES_H_
+
+#include <stddef.h>
+#include <algorithm>
+#include <utility>
+#include <vector>
+
+#include "base/feature_list.h"
+#include "base/macros.h"
+#include "base/values.h"
+namespace base {
+class ListValue;
+} // namespace base
+
+namespace safe_browsing {
+// Features list
+extern const base::Feature kLocalDatabaseManagerEnabled;
+extern const base::Feature kV4OnlyEnabled;
+extern const base::Feature kThreatDomDetailsTagAndAttributeFeature;
+
+base::ListValue GetFeatureStatusList();
+
+#endif // COMPONENTS_SAFE_BROWSING_FEATURES_H_
+} // namespace safe_browsing
« no previous file with comments | « components/safe_browsing/BUILD.gn ('k') | components/safe_browsing/features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698