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

Unified Diff: chrome/browser/ssl/captive_portal_blocking_page_browsertest.cc

Issue 2903383002: Limit certificate error reports to running in official builds (Closed)
Patch Set: fix more tests Created 3 years, 7 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/ssl/captive_portal_blocking_page_browsertest.cc
diff --git a/chrome/browser/ssl/captive_portal_blocking_page_browsertest.cc b/chrome/browser/ssl/captive_portal_blocking_page_browsertest.cc
index 4b93c4392825848a009dfd8c69723f9ae20abc13..e7f3115a130251a5f0ab505c75563c58cb911d09 100644
--- a/chrome/browser/ssl/captive_portal_blocking_page_browsertest.cc
+++ b/chrome/browser/ssl/captive_portal_blocking_page_browsertest.cc
@@ -95,7 +95,9 @@ class CaptivePortalBlockingPageForTesting : public CaptivePortalBlockingPage {
class CaptivePortalBlockingPageTest : public InProcessBrowserTest {
public:
- CaptivePortalBlockingPageTest() {}
+ CaptivePortalBlockingPageTest() {
+ CertReportHelper::SetFakeOfficialBuildForTesting();
+ }
void SetUpCommandLine(base::CommandLine* command_line) override {
command_line->AppendSwitchASCII(

Powered by Google App Engine
This is Rietveld 408576698