summaryrefslogtreecommitdiffstats
path: root/webkit/glue/multipart_response_delegate.cc
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-04 04:46:44 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-04 04:46:44 +0000
commitb3187ca4648ae595377786332442e3547eea24f6 (patch)
tree5e1908c6b2fa2da53713363595d22b5773bc6539 /webkit/glue/multipart_response_delegate.cc
parenta6020e3749e034e6fdd6c5ed656d2f3915e7b3c9 (diff)
downloadchromium_src-b3187ca4648ae595377786332442e3547eea24f6.zip
chromium_src-b3187ca4648ae595377786332442e3547eea24f6.tar.gz
chromium_src-b3187ca4648ae595377786332442e3547eea24f6.tar.bz2
Revert "Avoid having every frame of a multipart response create a"
This reverts commit r40599. TBR=darin Review URL: http://codereview.chromium.org/668041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40601 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/multipart_response_delegate.cc')
-rw-r--r--webkit/glue/multipart_response_delegate.cc9
1 files changed, 1 insertions, 8 deletions
diff --git a/webkit/glue/multipart_response_delegate.cc b/webkit/glue/multipart_response_delegate.cc
index 8de6469..20e207a 100644
--- a/webkit/glue/multipart_response_delegate.cc
+++ b/webkit/glue/multipart_response_delegate.cc
@@ -64,8 +64,7 @@ MultipartResponseDelegate::MultipartResponseDelegate(
boundary_("--"),
first_received_data_(true),
processing_headers_(false),
- stop_sending_(false),
- has_sent_first_response_(false) {
+ stop_sending_(false) {
// Some servers report a boundary prefixed with "--". See bug 5786.
if (StartsWithASCII(boundary, "--", true)) {
boundary_.assign(boundary);
@@ -228,12 +227,6 @@ bool MultipartResponseDelegate::ParseHeaders() {
WebString::fromUTF8(value));
}
}
- // To avoid recording every multipart load as a separate visit in
- // the history database, we want to keep track of whether the response
- // is part of a multipart payload. We do want to record the first visit,
- // so we only set isMultipartPayload to true after the first visit.
- response.setIsMultipartPayload(has_sent_first_response_);
- has_sent_first_response_ = true;
// Send the response!
client_->didReceiveResponse(loader_, response);