summaryrefslogtreecommitdiffstats
path: root/webkit/glue/multipart_response_delegate.h
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-13 00:54:47 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-13 00:54:47 +0000
commit6eca5f19ffabd672349df42595551e7a4b1da987 (patch)
treec9f2565f1ef32435072aba1dace92de204b58f1d /webkit/glue/multipart_response_delegate.h
parent4c9ef951d9d3c32d7955583bba6639efac26362c (diff)
downloadchromium_src-6eca5f19ffabd672349df42595551e7a4b1da987.zip
chromium_src-6eca5f19ffabd672349df42595551e7a4b1da987.tar.gz
chromium_src-6eca5f19ffabd672349df42595551e7a4b1da987.tar.bz2
Fix a bug where we were setting the mime-type to the full
content-type (e.g., text/html; charset=utf-8) in multipart responses. This fixes a bug where e.g., CUPS pages wouldn't be rendered properly. BUG=25217 TEST=Covered by unittests. Review URL: http://codereview.chromium.org/385046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31867 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/multipart_response_delegate.h')
-rw-r--r--webkit/glue/multipart_response_delegate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/glue/multipart_response_delegate.h b/webkit/glue/multipart_response_delegate.h
index 6a558b7..8ac496e 100644
--- a/webkit/glue/multipart_response_delegate.h
+++ b/webkit/glue/multipart_response_delegate.h
@@ -51,6 +51,7 @@
#include <string>
+#include "base/basictypes.h"
#include "third_party/WebKit/WebKit/chromium/public/WebURLResponse.h"
namespace WebKit {
@@ -128,6 +129,8 @@ class MultipartResponseDelegate {
// true when we're done sending information. At that point, we stop
// processing AddData requests.
bool stop_sending_;
+
+ DISALLOW_COPY_AND_ASSIGN(MultipartResponseDelegate);
};
} // namespace webkit_glue