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

Unified Diff: content/public/browser/resource_throttle.cc

Issue 2535723005: Stop using ResourceController in ResourceThrottle (Closed)
Patch Set: Addressed #62 Created 4 years 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/public/browser/resource_throttle.cc
diff --git a/content/public/browser/resource_throttle.cc b/content/public/browser/resource_throttle.cc
index 88a89a8025de908b015ffceb2dd0b271757b8980..53b1e21951a667adc3298dd6cf40b62f32ddc242 100644
--- a/content/public/browser/resource_throttle.cc
+++ b/content/public/browser/resource_throttle.cc
@@ -10,4 +10,20 @@ bool ResourceThrottle::MustProcessResponseBeforeReadingBody() {
return false;
}
+void ResourceThrottle::Cancel() {
+ delegate_->Cancel();
+}
+
+void ResourceThrottle::CancelAndIgnore() {
+ delegate_->CancelAndIgnore();
+}
+
+void ResourceThrottle::CancelWithError(int error_code) {
+ delegate_->CancelWithError(error_code);
+}
+
+void ResourceThrottle::Resume() {
+ delegate_->Resume();
+}
+
} // namespace content
« no previous file with comments | « content/public/browser/resource_throttle.h ('k') | extensions/browser/extension_request_limiting_throttle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698