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

Unified Diff: content/common/resource_dispatcher.cc

Issue 10640019: Remove the HANDLED_EXTERNALLY status code. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: hack, hack, hack Created 8 years, 6 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/common/resource_dispatcher.cc
diff --git a/content/common/resource_dispatcher.cc b/content/common/resource_dispatcher.cc
index 7a6ac06d8e0a4a8ec02c3c32f4db5cc1daa2950f..d33a516c69f0d8b580257194bd9403c76415cc89 100644
--- a/content/common/resource_dispatcher.cc
+++ b/content/common/resource_dispatcher.cc
@@ -245,6 +245,7 @@ void IPCResourceLoaderBridge::SyncLoad(SyncLoadResponse* response) {
}
response->status = result.status;
+ response->handled_externally = result.handled_externally;
response->url = result.final_url;
response->headers = result.headers;
response->mime_type = result.mime_type;
@@ -452,6 +453,7 @@ void ResourceDispatcher::FollowPendingRedirect(
void ResourceDispatcher::OnRequestComplete(
int request_id,
const net::URLRequestStatus& status,
+ bool handled_externally,
const std::string& security_info,
const base::TimeTicks& browser_completion_time) {
PendingRequestInfo* request_info = GetPendingRequestInfo(request_id);
@@ -474,7 +476,9 @@ void ResourceDispatcher::OnRequestComplete(
// The request ID will be removed from our pending list in the destructor.
// Normally, dispatching this message causes the reference-counted request to
// die immediately.
- peer->OnCompletedRequest(status, security_info, renderer_completion_time);
+ peer->OnCompletedRequest(
+ status, handled_externally, security_info,
+ renderer_completion_time);
}
int ResourceDispatcher::AddPendingRequest(

Powered by Google App Engine
This is Rietveld 408576698