2012-08-02 10:02:29 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
#ifndef mozilla_dom_ipc_nsIRemoteBlob_h
|
|
|
|
#define mozilla_dom_ipc_nsIRemoteBlob_h
|
|
|
|
|
|
|
|
#include "nsISupports.h"
|
|
|
|
|
|
|
|
#ifndef NS_NO_VTABLE
|
|
|
|
#define NS_NO_VTABLE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define NS_IREMOTEBLOB_IID \
|
2013-01-10 17:47:32 +04:00
|
|
|
{0x1f569fbc, 0xf588, 0x41c5, {0xa0, 0x73, 0x92, 0x0d, 0xf5, 0x9f, 0x1b, 0xdb}}
|
2012-08-02 10:02:29 +04:00
|
|
|
|
|
|
|
class NS_NO_VTABLE nsIRemoteBlob : public nsISupports
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IREMOTEBLOB_IID)
|
|
|
|
|
|
|
|
// This will either return a PBlobChild or PBlobParent.
|
|
|
|
virtual void* GetPBlob() = 0;
|
2013-01-10 17:47:32 +04:00
|
|
|
|
|
|
|
virtual void SetPBlob(void* aActor) = 0;
|
2012-08-02 10:02:29 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
NS_DEFINE_STATIC_IID_ACCESSOR(nsIRemoteBlob, NS_IREMOTEBLOB_IID)
|
|
|
|
|
|
|
|
#endif // mozilla_dom_ipc_nsIRemoteBlob_h
|