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

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

Issue 1984283003: Revert of Reland: Initialize and reset V4LocalDBManager. Instantiate V4Stores. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | components/safe_browsing_db.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/services_delegate_impl.cc
diff --git a/chrome/browser/safe_browsing/services_delegate_impl.cc b/chrome/browser/safe_browsing/services_delegate_impl.cc
index ee489261fc2e11bc14256ee76ab8e2b47ae272c8..e3b5b7a122d2ec0cf50c3b7ec3813fe8fcbc41e3 100644
--- a/chrome/browser/safe_browsing/services_delegate_impl.cc
+++ b/chrome/browser/safe_browsing/services_delegate_impl.cc
@@ -180,16 +180,12 @@
}
V4LocalDatabaseManager* ServicesDelegateImpl::CreateV4LocalDatabaseManager() {
- return new V4LocalDatabaseManager(SafeBrowsingService::GetBaseFilename());
+ return new V4LocalDatabaseManager();
}
bool ServicesDelegateImpl::IsV4LocalDatabaseManagerEnabled() {
- bool enabled = base::FeatureList::IsEnabled(
+ return base::FeatureList::IsEnabled(
kSafeBrowsingV4LocalDatabaseManagerEnabled);
-#ifndef NDEBUG
- enabled = true;
-#endif
- return enabled;
}
} // namespace safe_browsing
« no previous file with comments | « no previous file | components/safe_browsing_db.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698