summaryrefslogtreecommitdiffstats
path: root/chrome/common/resource_dispatcher.cc
diff options
context:
space:
mode:
authorpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-16 04:50:41 +0000
committerpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-16 04:50:41 +0000
commite0f458cbcebd8f6f75dbc7d86a0698ad5ec22b55 (patch)
tree681d5e1d3928d5a9fb4c5180541753d399245098 /chrome/common/resource_dispatcher.cc
parentf05ca65c8857804c078f06b260f3175493dd4720 (diff)
downloadchromium_src-e0f458cbcebd8f6f75dbc7d86a0698ad5ec22b55.zip
chromium_src-e0f458cbcebd8f6f75dbc7d86a0698ad5ec22b55.tar.gz
chromium_src-e0f458cbcebd8f6f75dbc7d86a0698ad5ec22b55.tar.bz2
DevTools: report network stack-based finish time for resources.
BUG= TEST= Review URL: http://codereview.chromium.org/3385004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59617 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/resource_dispatcher.cc')
-rw-r--r--chrome/common/resource_dispatcher.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/common/resource_dispatcher.cc b/chrome/common/resource_dispatcher.cc
index 976995e..ce586c4 100644
--- a/chrome/common/resource_dispatcher.cc
+++ b/chrome/common/resource_dispatcher.cc
@@ -445,7 +445,8 @@ void ResourceDispatcher::OnReceivedRedirect(
void ResourceDispatcher::OnRequestComplete(int request_id,
const URLRequestStatus& status,
- const std::string& security_info) {
+ const std::string& security_info,
+ const base::Time& completion_time) {
PendingRequestList::iterator it = pending_requests_.find(request_id);
if (it == pending_requests_.end()) {
// this might happen for kill()ed requests on the webkit end, so perhaps
@@ -477,7 +478,7 @@ void ResourceDispatcher::OnRequestComplete(int request_id,
// 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);
+ peer->OnCompletedRequest(status, security_info, completion_time);
webkit_glue::NotifyCacheStats();
}