From e23c6c9ea366823dca0f5ec9e3fc756d0180373a Mon Sep 17 00:00:00 2001 From: "agl@chromium.org" Date: Wed, 24 Feb 2010 18:37:58 +0000 Subject: 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 --- net/base/upload_data_stream.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net/base/upload_data_stream.h') 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 -- cgit v1.1