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

Unified Diff: components/safe_browsing_db/v4_local_database_manager.cc

Issue 2675063002: Browser tests for using the new SafeBrowsing protocol (v4) (Closed)
Patch Set: Nit: Add comments in tests Created 3 years, 10 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: components/safe_browsing_db/v4_local_database_manager.cc
diff --git a/components/safe_browsing_db/v4_local_database_manager.cc b/components/safe_browsing_db/v4_local_database_manager.cc
index bed076fa0b605a410e678ba259c90dcaefc388c6..7e3f70046415a3d2861b5c61b1a80c17e5c3f235 100644
--- a/components/safe_browsing_db/v4_local_database_manager.cc
+++ b/components/safe_browsing_db/v4_local_database_manager.cc
@@ -133,10 +133,6 @@ V4LocalDatabaseManager::PendingCheck::~PendingCheck() {}
scoped_refptr<V4LocalDatabaseManager> V4LocalDatabaseManager::Create(
const base::FilePath& base_path,
ExtendedReportingLevelCallback extended_reporting_level_callback) {
- if (!V4FeatureList::IsLocalDatabaseManagerEnabled()) {
- return nullptr;
- }
-
return make_scoped_refptr(
new V4LocalDatabaseManager(base_path, extended_reporting_level_callback));
}

Powered by Google App Engine
This is Rietveld 408576698