summaryrefslogtreecommitdiffstats
path: root/chrome/browser/task_manager.cc
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-22 23:17:17 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-22 23:17:17 +0000
commit90f545d4ae725c587b6aff8b07cb37cfe01ddfc0 (patch)
treed78365b30562211a9264e1c83c9fb025de9de806 /chrome/browser/task_manager.cc
parentc5a68a10cc7aaf7fb74b400919b570be080ba1ea (diff)
downloadchromium_src-90f545d4ae725c587b6aff8b07cb37cfe01ddfc0.zip
chromium_src-90f545d4ae725c587b6aff8b07cb37cfe01ddfc0.tar.gz
chromium_src-90f545d4ae725c587b6aff8b07cb37cfe01ddfc0.tar.bz2
Revert "Add the actual data being read to the OnBytesRead callback."
It broke download ui tests, but was not noticed because of the FLAKY marks. TBR=cbentzel, bmcquade@google.com Review URL: http://codereview.chromium.org/3008022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53416 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/task_manager.cc')
-rw-r--r--chrome/browser/task_manager.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/task_manager.cc b/chrome/browser/task_manager.cc
index 1ac1410..1d2907a 100644
--- a/chrome/browser/task_manager.cc
+++ b/chrome/browser/task_manager.cc
@@ -835,8 +835,7 @@ void TaskManagerModel::OnJobRedirect(URLRequestJob* job,
int status_code) {
}
-void TaskManagerModel::OnBytesRead(URLRequestJob* job, const char* buf,
- int byte_count) {
+void TaskManagerModel::OnBytesRead(URLRequestJob* job, int byte_count) {
int render_process_host_child_id = -1, routing_id = -1;
ResourceDispatcherHost::RenderViewForRequest(job->request(),
&render_process_host_child_id,