summaryrefslogtreecommitdiffstats
path: root/net/base/upload_data_stream.h
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-24 18:37:58 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-24 18:37:58 +0000
commite23c6c9ea366823dca0f5ec9e3fc756d0180373a (patch)
tree4136441c5f11e2b95038c697252a69a763c5aeb7 /net/base/upload_data_stream.h
parent7e4576de1a1a54e2b1a6d7c1126b845c638cf1c2 (diff)
downloadchromium_src-e23c6c9ea366823dca0f5ec9e3fc756d0180373a.zip
chromium_src-e23c6c9ea366823dca0f5ec9e3fc756d0180373a.tar.gz
chromium_src-e23c6c9ea366823dca0f5ec9e3fc756d0180373a.tar.bz2
Revert "Fix the case where the browser livelocks if we cannot open a file."
(Still breaks Mac net_unittests. Damm you Mac.) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39901 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, 2 insertions, 2 deletions
diff --git a/net/base/upload_data_stream.h b/net/base/upload_data_stream.h
index 9df5db0..0dd7dd3 100644
--- a/net/base/upload_data_stream.h
+++ b/net/base/upload_data_stream.h
@@ -14,7 +14,7 @@ class IOBuffer;
class UploadDataStream {
public:
- explicit UploadDataStream(UploadData* data);
+ explicit UploadDataStream(const UploadData* data);
~UploadDataStream();
// Returns the stream's buffer and buffer length.
@@ -42,7 +42,7 @@ class UploadDataStream {
// left to fill the buffer with.
void FillBuf();
- UploadData* data_;
+ const UploadData* data_;
// This buffer is filled with data to be uploaded. The data to be sent is
// always at the front of the buffer. If we cannot send all of the buffer at