Index: chrome/browser/safe_browsing/test_safe_browsing_service.h |
diff --git a/chrome/browser/safe_browsing/test_safe_browsing_service.h b/chrome/browser/safe_browsing/test_safe_browsing_service.h |
index facf791b83e2b0acad4529814245db6c0eeeb089..072b577091bfff9a4f9c1527a2be90a23a816e00 100644 |
--- a/chrome/browser/safe_browsing/test_safe_browsing_service.h |
+++ b/chrome/browser/safe_browsing/test_safe_browsing_service.h |
@@ -40,7 +40,7 @@ class TestSafeBrowsingUIManager; |
// test_sb_factory_. |
class TestSafeBrowsingService : public SafeBrowsingService { |
public: |
- TestSafeBrowsingService(); |
+ explicit TestSafeBrowsingService(V4UsageStatus v4_usage_status); |
// SafeBrowsingService overrides |
SafeBrowsingProtocolConfig GetProtocolConfig() const override; |
V4ProtocolConfig GetV4ProtocolConfig() const override; |
@@ -80,7 +80,8 @@ class TestSafeBrowsingService : public SafeBrowsingService { |
class TestSafeBrowsingServiceFactory : public SafeBrowsingServiceFactory { |
public: |
- TestSafeBrowsingServiceFactory(); |
+ explicit TestSafeBrowsingServiceFactory( |
+ V4UsageStatus v4_usage_status = V4UsageStatus::V4_DISABLED); |
~TestSafeBrowsingServiceFactory() override; |
// Creates test safe browsing service, and configures test UI manager, |
@@ -101,6 +102,7 @@ class TestSafeBrowsingServiceFactory : public SafeBrowsingServiceFactory { |
scoped_refptr<TestSafeBrowsingDatabaseManager> test_database_manager_; |
scoped_refptr<TestSafeBrowsingUIManager> test_ui_manager_; |
SafeBrowsingProtocolConfig* test_protocol_config_; |
+ V4UsageStatus v4_usage_status_; |
DISALLOW_COPY_AND_ASSIGN(TestSafeBrowsingServiceFactory); |
}; |