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

Unified Diff: chrome/browser/safe_browsing/threat_details.cc

Issue 2731913003: Remove FillDOMInThreatDetails finch feature. (Closed)
Patch Set: Sync Created 3 years, 9 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
Index: chrome/browser/safe_browsing/threat_details.cc
diff --git a/chrome/browser/safe_browsing/threat_details.cc b/chrome/browser/safe_browsing/threat_details.cc
index 6549a63c1e6e2e0d88d59eb5e857a8f8a2ab39e5..50a818c3b7ad66d1e481e04e42818146f356b78a 100644
--- a/chrome/browser/safe_browsing/threat_details.cc
+++ b/chrome/browser/safe_browsing/threat_details.cc
@@ -39,9 +39,6 @@ namespace safe_browsing {
// static
ThreatDetailsFactory* ThreatDetails::factory_ = NULL;
-const base::Feature kFillDOMInThreatDetails{"FillDOMInThreatDetails",
- base::FEATURE_DISABLED_BY_DEFAULT};
-
namespace {
typedef std::unordered_set<std::string> StringSet;
@@ -286,10 +283,6 @@ void ThreatDetails::AddDomElement(
const int parent_element_node_id,
const std::vector<AttributeNameValue>& attributes,
const ClientSafeBrowsingReportRequest::Resource* resource) {
- if (!base::FeatureList::IsEnabled(kFillDOMInThreatDetails)) {
- return;
- }
-
// Create the element. It should not exist already since this function should
// only be called once for each element.
const std::string element_key =
« no previous file with comments | « chrome/browser/safe_browsing/threat_details.h ('k') | chrome/browser/safe_browsing/threat_details_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698