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

Unified Diff: chrome/browser/download/download_browsertest.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: 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) {
Nathan Parker 2017/02/10 00:52:37 (This seems like a rather deep namespace but... me
vakh (use Gerrit instead) 2017/02/10 01:08:15 Acknowledged. I think I'll change that file to v4_
services_delegate_ =
safe_browsing::ServicesDelegate::CreateForTest(this, this);
}

Powered by Google App Engine
This is Rietveld 408576698