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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc

Issue 2603433002: Move SecurityInterstitialPage into component (Closed)
Patch Set: missed some changes in rebase Created 3 years, 11 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/safe_browsing/safe_browsing_blocking_page_unittest.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc b/chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc
index 0376620a6251cc382a5feb60a5c58446e1e55a64..ee4ae7844c75fd14aac4d7de2f09940dc0cef50c 100644
--- a/chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc
@@ -637,7 +637,7 @@ TEST_F(SafeBrowsingBlockingPageTest, MalwareReportsDisabled) {
ShowInterstitial(false, kBadURL);
SafeBrowsingBlockingPage* sb_interstitial = GetSafeBrowsingBlockingPage();
ASSERT_TRUE(sb_interstitial);
- EXPECT_TRUE(sb_interstitial->CanShowExtendedReportingOption());
+ EXPECT_TRUE(sb_interstitial->sb_error_ui_->CanShowExtendedReportingOption());
base::RunLoop().RunUntilIdle();
@@ -671,7 +671,7 @@ TEST_F(SafeBrowsingBlockingPageTest, MalwareReportsToggling) {
ShowInterstitial(false, kBadURL);
SafeBrowsingBlockingPage* sb_interstitial = GetSafeBrowsingBlockingPage();
ASSERT_TRUE(sb_interstitial);
- EXPECT_TRUE(sb_interstitial->CanShowExtendedReportingOption());
+ EXPECT_TRUE(sb_interstitial->sb_error_ui_->CanShowExtendedReportingOption());
base::RunLoop().RunUntilIdle();
@@ -707,7 +707,7 @@ TEST_F(SafeBrowsingBlockingPageTest,
ShowInterstitial(false, kBadURL);
SafeBrowsingBlockingPage* sb_interstitial = GetSafeBrowsingBlockingPage();
ASSERT_TRUE(sb_interstitial);
- EXPECT_FALSE(sb_interstitial->CanShowExtendedReportingOption());
+ EXPECT_FALSE(sb_interstitial->sb_error_ui_->CanShowExtendedReportingOption());
base::RunLoop().RunUntilIdle();
@@ -741,7 +741,7 @@ TEST_F(SafeBrowsingBlockingPageTest,
ShowInterstitial(false, kBadURL);
SafeBrowsingBlockingPage* sb_interstitial = GetSafeBrowsingBlockingPage();
ASSERT_TRUE(sb_interstitial);
- EXPECT_FALSE(sb_interstitial->CanShowExtendedReportingOption());
+ EXPECT_FALSE(sb_interstitial->sb_error_ui_->CanShowExtendedReportingOption());
base::RunLoop().RunUntilIdle();
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc ('k') | chrome/browser/ssl/bad_clock_blocking_page.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698