diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-04 04:22:45 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-04 04:22:45 +0000 |
commit | a6020e3749e034e6fdd6c5ed656d2f3915e7b3c9 (patch) | |
tree | a2d59d7a96066e8ee09feace35b7393b2a6d05d3 /webkit/glue/multipart_response_delegate.h | |
parent | efbe3c63f38d26d8fb707a28e17854243fc72f82 (diff) | |
download | chromium_src-a6020e3749e034e6fdd6c5ed656d2f3915e7b3c9.zip chromium_src-a6020e3749e034e6fdd6c5ed656d2f3915e7b3c9.tar.gz chromium_src-a6020e3749e034e6fdd6c5ed656d2f3915e7b3c9.tar.bz2 |
Avoid having every frame of a multipart response create a
new row in the history database. We do this by setting a flag
on the WebURLResponse created for multipart responses and not
updating the history db when this flag is set.
BUG=34350
Review URL: http://codereview.chromium.org/661445
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40599 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/multipart_response_delegate.h')
-rw-r--r-- | webkit/glue/multipart_response_delegate.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/glue/multipart_response_delegate.h b/webkit/glue/multipart_response_delegate.h index 8ac496e..268999b 100644 --- a/webkit/glue/multipart_response_delegate.h +++ b/webkit/glue/multipart_response_delegate.h @@ -130,6 +130,9 @@ class MultipartResponseDelegate { // processing AddData requests. bool stop_sending_; + // true after we've sent our first response to the WebURLLoaderClient. + bool has_sent_first_response_; + DISALLOW_COPY_AND_ASSIGN(MultipartResponseDelegate); }; |