Index: components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page.h |
diff --git a/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page.h b/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page.h |
index ea63a3fcdf2c0f6741f26e14793dd2ed612823fe..92d721d4f50d0dc2a7e5e0638014476c6ca48958 100644 |
--- a/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page.h |
+++ b/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page.h |
@@ -55,6 +55,9 @@ class DataReductionProxyDebugBlockingPage |
~DataReductionProxyDebugBlockingPage() override; |
+ // Interstitial type for testing. |
+ static content::InterstitialPageDelegate::TypeID kTypeForTesting; |
+ |
// Creates a blocking page. Use ShowBlockingPage when access to the blocking |
// page directly isn't needed. |
static DataReductionProxyDebugBlockingPage* CreateBlockingPage( |
@@ -88,6 +91,7 @@ class DataReductionProxyDebugBlockingPage |
void OnProceed() override; |
void OnDontProceed() override; |
void CommandReceived(const std::string& command) override; |
+ content::InterstitialPageDelegate::TypeID GetTypeForTesting() const override; |
protected: |
friend class DataReductionProxyDebugBlockingPageFactoryImpl; |