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

Unified Diff: chrome/browser/download/download_browsertest.cc

Issue 2675063002: Browser tests for using the new SafeBrowsing protocol (v4) (Closed)
Patch Set: Use static raw pointer instead of static smart pointer 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: chrome/browser/download/download_browsertest.cc
diff --git a/chrome/browser/download/download_browsertest.cc b/chrome/browser/download/download_browsertest.cc
index e8f36500e5ed3b8d3f04aec3a98053f39407a883..98193c9658a2d49e527f74fefbb23d21344416ac 100644
--- a/chrome/browser/download/download_browsertest.cc
+++ b/chrome/browser/download/download_browsertest.cc
@@ -1083,7 +1083,9 @@ class FakeSafeBrowsingService
: public safe_browsing::TestSafeBrowsingService,
public safe_browsing::ServicesDelegate::ServicesCreator {
public:
- FakeSafeBrowsingService() {
+ FakeSafeBrowsingService()
+ : TestSafeBrowsingService(
+ safe_browsing::V4FeatureList::V4UsageStatus::V4_DISABLED) {
services_delegate_ =
safe_browsing::ServicesDelegate::CreateForTest(this, this);
}
« no previous file with comments | « no previous file | chrome/browser/loader/safe_browsing_resource_throttle.cc » ('j') | components/safe_browsing_db/v4_database.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698