Index: chrome/browser/ssl/certificate_reporting_test_utils.h |
diff --git a/chrome/browser/ssl/certificate_reporting_test_utils.h b/chrome/browser/ssl/certificate_reporting_test_utils.h |
index 6b7bdae21b1dee3e9573fde5644b6ec30f90a4fe..a397e7049be12efda57b7e18468f8e27787cb5f1 100644 |
--- a/chrome/browser/ssl/certificate_reporting_test_utils.h |
+++ b/chrome/browser/ssl/certificate_reporting_test_utils.h |
@@ -38,7 +38,7 @@ class CertificateReportingTest : public InProcessBrowserTest { |
protected: |
// Get the latest hostname for which a certificate report was sent. |
- const std::string& GetLatestHostnameReported(); |
+ const std::string& GetLatestHostnameReported() const; |
private: |
MockReporter* reporter_; |
@@ -55,10 +55,9 @@ scoped_ptr<SSLCertReporter> SetUpMockSSLCertReporter( |
base::RunLoop* run_loop, |
ExpectReport expect_report); |
-// Forces a Finch config for the cert reporting experiment. |
-void SetCertReportingFinchConfig(const std::string& group_name, |
- const std::string& param_value); |
-void SetCertReportingFinchConfig(const std::string& group_name); |
+// Returns whether a report should be expected (due to the Finch config) |
+// if the user opts in. |
+ExpectReport GetReportExpectedFromFinch(); |
} // namespace CertificateReportingTestUtils |