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

Unified Diff: content/browser/renderer_host/throttling_resource_handler.cc

Issue 10640019: Remove the HANDLED_EXTERNALLY status code. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: revert removing DCHECK from URLRequest::DoCancel Created 8 years, 5 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: content/browser/renderer_host/throttling_resource_handler.cc
diff --git a/content/browser/renderer_host/throttling_resource_handler.cc b/content/browser/renderer_host/throttling_resource_handler.cc
index b833b7f3c21c2e0b3656d7fef8199e56f84a940e..5e35beccd81305fcc89af027abd5a5dbb42c4b40 100644
--- a/content/browser/renderer_host/throttling_resource_handler.cc
+++ b/content/browser/renderer_host/throttling_resource_handler.cc
@@ -95,6 +95,14 @@ void ThrottlingResourceHandler::Cancel() {
controller()->Cancel();
}
+void ThrottlingResourceHandler::CancelWithError(int error) {
+ controller()->CancelWithError(error);
+}
+
+void ThrottlingResourceHandler::HandledExternally() {
+ controller()->HandledExternally();
+}
+
void ThrottlingResourceHandler::Resume() {
switch (deferred_stage_) {
case DEFERRED_NONE:

Powered by Google App Engine
This is Rietveld 408576698