summaryrefslogtreecommitdiffstats
path: root/webkit/glue
diff options
context:
space:
mode:
authorvsevik@chromium.org <vsevik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-31 14:17:34 +0000
committervsevik@chromium.org <vsevik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-31 14:17:34 +0000
commit22efa086fc27f192a1805d4bd62c576fe23580a4 (patch)
tree6c9489f10bfdc13e4153f39629d55e4d48a88188 /webkit/glue
parent1510291b83d7a9e8bf36f3b035993f781e9469e7 (diff)
downloadchromium_src-22efa086fc27f192a1805d4bd62c576fe23580a4.zip
chromium_src-22efa086fc27f192a1805d4bd62c576fe23580a4.tar.gz
chromium_src-22efa086fc27f192a1805d4bd62c576fe23580a4.tar.bz2
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
Diffstat (limited to 'webkit/glue')
-rw-r--r--webkit/glue/resource_loader_bridge.cc5
-rw-r--r--webkit/glue/resource_loader_bridge.h1
2 files changed, 4 insertions, 2 deletions
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<ResourceDevToolsInfo> {
std::string http_status_text;
HeadersVector request_headers;
HeadersVector response_headers;
+ int32 bytes_received;
};
struct ResourceResponseInfo {