From 22efa086fc27f192a1805d4bd62c576fe23580a4 Mon Sep 17 00:00:00 2001 From: "vsevik@chromium.org" Date: Thu, 31 Mar 2011 14:17:34 +0000 Subject: Save actual transfer size for future DevTools use BUG=40502 Review URL: http://codereview.chromium.org/6690044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79990 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/glue/resource_loader_bridge.cc | 5 +++-- webkit/glue/resource_loader_bridge.h | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'webkit/glue') diff --git a/webkit/glue/resource_loader_bridge.cc b/webkit/glue/resource_loader_bridge.cc index 3e9c9e8..627f277 100644 --- a/webkit/glue/resource_loader_bridge.cc +++ b/webkit/glue/resource_loader_bridge.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -28,7 +28,8 @@ ResourceLoadTimingInfo::~ResourceLoadTimingInfo() { } ResourceDevToolsInfo::ResourceDevToolsInfo() - : http_status_code(0) { + : http_status_code(0), + bytes_received(0) { } ResourceDevToolsInfo::~ResourceDevToolsInfo() {} diff --git a/webkit/glue/resource_loader_bridge.h b/webkit/glue/resource_loader_bridge.h index e5f7d2e..35c76b3 100644 --- a/webkit/glue/resource_loader_bridge.h +++ b/webkit/glue/resource_loader_bridge.h @@ -110,6 +110,7 @@ struct ResourceDevToolsInfo : base::RefCounted { std::string http_status_text; HeadersVector request_headers; HeadersVector response_headers; + int32 bytes_received; }; struct ResourceResponseInfo { -- cgit v1.1