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

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

Issue 2632633006: Implement NavigationThrottle::BLOCK_REQUEST_AND_COLLAPSE. (Closed)
Patch Set: Rebase. Created 3 years, 7 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);
dcheng 2017/05/10 06:59:46 It would be nice if this were an enum instead of a
engedy 2017/05/15 13:35:51 Good point, done.
+ void OnCalculatedLoadPolicy(bool was_deferring_redirect, LoadPolicy policy);
dcheng 2017/05/10 06:59:46 Ditto
engedy 2017/05/15 13:35:51 Done.
// Must outlive this class.
AsyncDocumentSubresourceFilter* parent_frame_filter_;

Powered by Google App Engine
This is Rietveld 408576698