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

Unified Diff: components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page_unittest.cc

Issue 962413002: Add type for testing to interstitials. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix android build Created 5 years, 10 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: components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page_unittest.cc
diff --git a/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page_unittest.cc b/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page_unittest.cc
index 63bbb76e72b2c9a12017d4bd073f6d11e739e581..39ffff0ad3a85f10b2ed61a5f6c76537307b114c 100644
--- a/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page_unittest.cc
+++ b/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page_unittest.cc
@@ -144,6 +144,8 @@ class DataReductionProxyDebugBlockingPageTest
content::InterstitialPage::GetInterstitialPage(web_contents());
if (!interstitial)
return NULL;
+ EXPECT_EQ(DataReductionProxyDebugBlockingPage::kTypeForTesting,
+ interstitial->GetDelegateForTesting()->GetTypeForTesting());
return static_cast<DataReductionProxyDebugBlockingPage*>(
Bernhard Bauer 2015/03/03 09:56:00 Nit: superfluous space.
meacer 2015/03/03 18:33:05 Done.
interstitial->GetDelegateForTesting());
}

Powered by Google App Engine
This is Rietveld 408576698