summaryrefslogtreecommitdiffstats
path: root/webkit/glue/multipart_response_delegate.cc
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-13 17:21:10 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-13 17:21:10 +0000
commitf808ee797b9183170f82cb6faa15988047d0bf2b (patch)
tree532d23f626b745fea0ee5507345e5134c9431224 /webkit/glue/multipart_response_delegate.cc
parentfde2a6d92684d67b5c3541f824fffb06c4871f30 (diff)
downloadchromium_src-f808ee797b9183170f82cb6faa15988047d0bf2b.zip
chromium_src-f808ee797b9183170f82cb6faa15988047d0bf2b.tar.gz
chromium_src-f808ee797b9183170f82cb6faa15988047d0bf2b.tar.bz2
Remove unused variable (warnings are compile errors)
Review URL: http://codereview.chromium.org/6417 Patch from icefox. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3291 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/multipart_response_delegate.cc')
-rw-r--r--webkit/glue/multipart_response_delegate.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/webkit/glue/multipart_response_delegate.cc b/webkit/glue/multipart_response_delegate.cc
index 1fc9e34..19f5fea 100644
--- a/webkit/glue/multipart_response_delegate.cc
+++ b/webkit/glue/multipart_response_delegate.cc
@@ -9,7 +9,7 @@
#include "HTTPHeaderMap.h"
#include "ResourceHandle.h"
#include "ResourceHandleClient.h"
-#include "String.h"
+#include "PlatformString.h"
#pragma warning(pop)
#undef LOG
@@ -87,7 +87,6 @@ void MultipartResponseDelegate::OnReceivedData(const char* data, int data_len) {
}
DCHECK(!processing_headers_);
- int token_line_feed = 1;
size_t boundary_pos;
while ((boundary_pos = FindBoundary()) != std::string::npos) {
if (boundary_pos > 0) {
@@ -200,7 +199,7 @@ bool MultipartResponseDelegate::ParseHeaders() {
"Range",
"Set-Cookie"
};
- for (int i = 0; i < arraysize(replace_headers); ++i) {
+ for (size_t i = 0; i < arraysize(replace_headers); ++i) {
std::string name(replace_headers[i]);
std::string value = net::GetSpecificHeader(headers, name);
if (!value.empty()) {