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 file, michael@0: * You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef mozilla_dom_ipc_nsIRemoteBlob_h michael@0: #define mozilla_dom_ipc_nsIRemoteBlob_h michael@0: michael@0: #include "nsISupports.h" michael@0: michael@0: #ifndef NS_NO_VTABLE michael@0: #define NS_NO_VTABLE michael@0: #endif michael@0: michael@0: #define NS_IREMOTEBLOB_IID \ michael@0: {0x74ce3cdd, 0xbfc9, 0x4edb, {0x98, 0x26, 0x50, 0xcf, 0x00, 0x26, 0x58, 0x70}} michael@0: michael@0: class NS_NO_VTABLE nsIRemoteBlob : public nsISupports michael@0: { michael@0: public: michael@0: NS_DECLARE_STATIC_IID_ACCESSOR(NS_IREMOTEBLOB_IID) michael@0: michael@0: // This will either return a PBlobChild or PBlobParent. michael@0: virtual void* GetPBlob() = 0; michael@0: }; michael@0: michael@0: NS_DEFINE_STATIC_IID_ACCESSOR(nsIRemoteBlob, NS_IREMOTEBLOB_IID) michael@0: michael@0: #endif // mozilla_dom_ipc_nsIRemoteBlob_h