diff options
author | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-21 13:51:32 +0000 |
---|---|---|
committer | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-21 13:51:32 +0000 |
commit | 7082b2329218da9a77fd6bc9587e86d0ed817196 (patch) | |
tree | dfc92b8bec2e649dc05e011743bf846bffb8151f /chrome/browser/task_manager.cc | |
parent | 598b1ff52fea0f167462f5bd92070756b9a65090 (diff) | |
download | chromium_src-7082b2329218da9a77fd6bc9587e86d0ed817196.zip chromium_src-7082b2329218da9a77fd6bc9587e86d0ed817196.tar.gz chromium_src-7082b2329218da9a77fd6bc9587e86d0ed817196.tar.bz2 |
Add the actual data being read to the OnBytesRead callback.
This is needed for code at http://code.google.com/p/page-speed/source/browse/bin/trunk/src/pagespeed/pagespeed_input_populator.cc#148
Contributed by: bmcquade@google.com
BUG=48192
TEST=Added new unit tests, ran net_unittests.
Review URL: http://codereview.chromium.org/2849041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53178 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/task_manager.cc')
-rw-r--r-- | chrome/browser/task_manager.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/task_manager.cc b/chrome/browser/task_manager.cc index 1d2907a..1ac1410 100644 --- a/chrome/browser/task_manager.cc +++ b/chrome/browser/task_manager.cc @@ -835,7 +835,8 @@ void TaskManagerModel::OnJobRedirect(URLRequestJob* job, int status_code) { } -void TaskManagerModel::OnBytesRead(URLRequestJob* job, int byte_count) { +void TaskManagerModel::OnBytesRead(URLRequestJob* job, const char* buf, + int byte_count) { int render_process_host_child_id = -1, routing_id = -1; ResourceDispatcherHost::RenderViewForRequest(job->request(), &render_process_host_child_id, |