1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/ipc/nsIRemoteBlob.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,28 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this file, 1.6 + * You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +#ifndef mozilla_dom_ipc_nsIRemoteBlob_h 1.9 +#define mozilla_dom_ipc_nsIRemoteBlob_h 1.10 + 1.11 +#include "nsISupports.h" 1.12 + 1.13 +#ifndef NS_NO_VTABLE 1.14 +#define NS_NO_VTABLE 1.15 +#endif 1.16 + 1.17 +#define NS_IREMOTEBLOB_IID \ 1.18 + {0x74ce3cdd, 0xbfc9, 0x4edb, {0x98, 0x26, 0x50, 0xcf, 0x00, 0x26, 0x58, 0x70}} 1.19 + 1.20 +class NS_NO_VTABLE nsIRemoteBlob : public nsISupports 1.21 +{ 1.22 +public: 1.23 + NS_DECLARE_STATIC_IID_ACCESSOR(NS_IREMOTEBLOB_IID) 1.24 + 1.25 + // This will either return a PBlobChild or PBlobParent. 1.26 + virtual void* GetPBlob() = 0; 1.27 +}; 1.28 + 1.29 +NS_DEFINE_STATIC_IID_ACCESSOR(nsIRemoteBlob, NS_IREMOTEBLOB_IID) 1.30 + 1.31 +#endif // mozilla_dom_ipc_nsIRemoteBlob_h