Index: chrome/browser/ssl/ssl_browser_tests.cc |
diff --git a/chrome/browser/ssl/ssl_browser_tests.cc b/chrome/browser/ssl/ssl_browser_tests.cc |
index f94398941f19c149b116eb42416e9dffc828070f..5992e360a97fb24398efe4aa442bdf16ac886d94 100644 |
--- a/chrome/browser/ssl/ssl_browser_tests.cc |
+++ b/chrome/browser/ssl/ssl_browser_tests.cc |
@@ -768,7 +768,11 @@ class SSLUITestIgnoreLocalhostCertErrors : public SSLUITest { |
class SSLUITestWithExtendedReporting : public SSLUITest { |
public: |
- SSLUITestWithExtendedReporting() : SSLUITest() {} |
+ SSLUITestWithExtendedReporting() : SSLUITest() { |
+ // Certificate reports are only sent from official builds, unless this has |
+ // been called. |
+ CertReportHelper::SetFakeOfficialBuildForTesting(); |
+ } |
}; |
// Visits a regular page over http. |