summaryrefslogtreecommitdiffstats
path: root/net/base/upload_data_stream.h
diff options
context:
space:
mode:
authorpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-25 19:47:30 +0000
committerpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-25 19:47:30 +0000
commit68bf915b57f9e781622c433f8795153cca8b5b9e (patch)
tree9951f7fa93ba72213f2057e82b13f84248f904b6 /net/base/upload_data_stream.h
parentec9a68914f38540671f2d1ea1b3d8e10e29e50c6 (diff)
downloadchromium_src-68bf915b57f9e781622c433f8795153cca8b5b9e.zip
chromium_src-68bf915b57f9e781622c433f8795153cca8b5b9e.tar.gz
chromium_src-68bf915b57f9e781622c433f8795153cca8b5b9e.tar.bz2
add http layer and unit tests to mac build. stub out file uploading in upload_data_stream until we have a common file wrapper.
Review URL: http://codereview.chromium.org/4090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2599 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/upload_data_stream.h')
-rw-r--r--net/base/upload_data_stream.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/base/upload_data_stream.h b/net/base/upload_data_stream.h
index b8b9719..f31cb80 100644
--- a/net/base/upload_data_stream.h
+++ b/net/base/upload_data_stream.h
@@ -5,6 +5,7 @@
#ifndef NET_BASE_UPLOAD_DATA_STREAM_H_
#define NET_BASE_UPLOAD_DATA_STREAM_H_
+#include "build/build_config.h"
#include "net/base/upload_data.h"
namespace net {
@@ -50,9 +51,12 @@ class UploadDataStream {
// a TYPE_BYTES element.
size_t next_element_offset_;
+#if defined(OS_WIN)
// A handle to the currently open file (or INVALID_HANDLE_VALUE) for
// next_element_ if the next element is a TYPE_FILE element.
+ // TODO(pinkerton): when we get a cross-platform file class, replace this
HANDLE next_element_handle_;
+#endif
// The number of bytes remaining to be read from the currently open file
// if the next element is of TYPE_FILE.