michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: // data implementation header michael@0: michael@0: #ifndef nsDataChannel_h___ michael@0: #define nsDataChannel_h___ michael@0: michael@0: #include "nsBaseChannel.h" michael@0: michael@0: class nsIInputStream; michael@0: michael@0: class nsDataChannel : public nsBaseChannel { michael@0: public: michael@0: nsDataChannel(nsIURI *uri) { michael@0: SetURI(uri); michael@0: } michael@0: michael@0: protected: michael@0: virtual nsresult OpenContentStream(bool async, nsIInputStream **result, michael@0: nsIChannel** channel); michael@0: }; michael@0: michael@0: #endif /* nsDataChannel_h___ */