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

Unified Diff: components/data_reduction_proxy/content/browser/data_reduction_proxy_ui_manager.h

Issue 830503004: Data Reduction Proxy blocking page and resources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@interstitalStep1
Patch Set: Rebase and crash fixes Created 5 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: components/data_reduction_proxy/content/browser/data_reduction_proxy_ui_manager.h
diff --git a/components/data_reduction_proxy/content/browser/data_reduction_proxy_ui_manager.h b/components/data_reduction_proxy/content/browser/data_reduction_proxy_ui_manager.h
index 58c2a43674a1416a450c5409fb49e14e4918e9f0..6e7fd0f83a1bd1f8bc194d6903b557b2a313ccd8 100644
--- a/components/data_reduction_proxy/content/browser/data_reduction_proxy_ui_manager.h
+++ b/components/data_reduction_proxy/content/browser/data_reduction_proxy_ui_manager.h
@@ -56,8 +56,12 @@ class DataReductionProxyUIManager
// first one (the root of the chain). Otherwise, |original_url| = |url|.
virtual void DisplayBlockingPage(const BypassResource& resource);
+ // Virtual for testing purposes.
+ virtual void ShowBlockingPage(const BypassResource& resource);
+
// The blocking page on the UI thread has completed.
- void OnBlockingPageDone(const BypassResource& resource, bool proceed);
+ void OnBlockingPageDone(const std::vector<BypassResource>& resources,
+ bool proceed);
private:
// Ref counted classes have private destructors to avoid any code deleting the

Powered by Google App Engine
This is Rietveld 408576698