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

Unified Diff: components/subresource_filter/content/browser/subframe_navigation_filtering_throttle.h

Issue 2632633006: Implement NavigationThrottle::BLOCK_REQUEST_AND_COLLAPSE. (Closed)
Patch Set: Addressed comments from csharrison@. Created 3 years, 8 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/subresource_filter/content/browser/subframe_navigation_filtering_throttle.h
diff --git a/components/subresource_filter/content/browser/subframe_navigation_filtering_throttle.h b/components/subresource_filter/content/browser/subframe_navigation_filtering_throttle.h
index e0c8aefc902946f5b5d09c20c893f2ee1f255d8c..750b976d67736e8500c283fd7ec669658914c8fd 100644
--- a/components/subresource_filter/content/browser/subframe_navigation_filtering_throttle.h
+++ b/components/subresource_filter/content/browser/subframe_navigation_filtering_throttle.h
@@ -40,8 +40,9 @@ class SubframeNavigationFilteringThrottle : public content::NavigationThrottle {
const char* GetNameForLogging() override;
private:
- content::NavigationThrottle::ThrottleCheckResult DeferToCalculateLoadPolicy();
- void OnCalculatedLoadPolicy(LoadPolicy policy);
+ content::NavigationThrottle::ThrottleCheckResult DeferToCalculateLoadPolicy(
+ bool is_redirect);
+ void OnCalculatedLoadPolicy(bool was_deferring_redirect, LoadPolicy policy);
// Must outlive this class.
AsyncDocumentSubresourceFilter* parent_frame_filter_;

Powered by Google App Engine
This is Rietveld 408576698