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

Unified Diff: content/browser/loader/throttling_resource_handler.h

Issue 2476163003: Refactor ResourceHandler API. (Closed)
Patch Set: Minor cleanups, one real fix Created 4 years, 1 month 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: content/browser/loader/throttling_resource_handler.h
diff --git a/content/browser/loader/throttling_resource_handler.h b/content/browser/loader/throttling_resource_handler.h
index 434151506ad250837132b7824b8bd5b704f7f59b..5c828e68e4f23309427ad03f074240e2a0b603eb 100644
--- a/content/browser/loader/throttling_resource_handler.h
+++ b/content/browser/loader/throttling_resource_handler.h
@@ -34,11 +34,12 @@ class ThrottlingResourceHandler : public LayeredResourceHandler,
~ThrottlingResourceHandler() override;
// LayeredResourceHandler overrides:
- bool OnRequestRedirected(const net::RedirectInfo& redirect_info,
+ void OnRequestRedirected(const net::RedirectInfo& redirect_info,
ResourceResponse* response,
- bool* defer) override;
- bool OnResponseStarted(ResourceResponse* response, bool* defer) override;
- bool OnWillStart(const GURL& url, bool* defer) override;
+ bool* defer_or_cancel) override;
+ void OnResponseStarted(ResourceResponse* response,
+ bool* defer_or_cancel) override;
+ void OnWillStart(const GURL& url, bool* defer_or_cancel) override;
// ResourceController implementation:
void Cancel() override;
« no previous file with comments | « content/browser/loader/test_resource_handler.cc ('k') | content/browser/loader/throttling_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698