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

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

Issue 10310124: Implement a ResourceThrottle for URL overriding in Chrome on Android. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: incorporated feedback Created 8 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: 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 a07d278c0c5d0ba270d7775ad76c05f226c68ed1..82f2002024f70833de01ca2b588dda2a9bbaf5e2 100644
--- a/content/browser/renderer_host/throttling_resource_handler.cc
+++ b/content/browser/renderer_host/throttling_resource_handler.cc
@@ -102,6 +102,10 @@ void ThrottlingResourceHandler::Cancel() {
host_->CancelRequest(child_id_, request_id_, false);
}
+void ThrottlingResourceHandler::CancelWithHandledExternallyStatus() {
+ host_->CancelRequestWithHandledExternallyStatus(child_id_, request_id_);
+}
+
void ThrottlingResourceHandler::Resume() {
switch (deferred_stage_) {
case DEFERRED_NONE:

Powered by Google App Engine
This is Rietveld 408576698