зеркало из https://github.com/mozilla/pjs.git
Bug 648997: Prefix BlobBuilder harder. rs=sicking
This commit is contained in:
Родитель
d253b72d2b
Коммит
5138da649d
|
@ -82,7 +82,7 @@ interface nsIDOMFile : nsIDOMBlob
|
||||||
};
|
};
|
||||||
|
|
||||||
[scriptable, uuid(c4a77171-039b-4f84-97f9-820fb51626af)]
|
[scriptable, uuid(c4a77171-039b-4f84-97f9-820fb51626af)]
|
||||||
interface nsIDOMBlobBuilder : nsISupports
|
interface nsIDOMMozBlobBuilder : nsISupports
|
||||||
{
|
{
|
||||||
nsIDOMBlob getBlob([optional] in DOMString contentType);
|
nsIDOMBlob getBlob([optional] in DOMString contentType);
|
||||||
[implicit_jscontext] void append(in jsval data);
|
[implicit_jscontext] void append(in jsval data);
|
||||||
|
|
|
@ -221,7 +221,7 @@ nsDOMMultipartBlob::MozSlice(PRInt64 aStart, PRInt64 aEnd,
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
class nsDOMBlobBuilder : public nsIDOMBlobBuilder
|
class nsDOMBlobBuilder : public nsIDOMMozBlobBuilder
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
nsDOMBlobBuilder()
|
nsDOMBlobBuilder()
|
||||||
|
@ -229,7 +229,7 @@ public:
|
||||||
{}
|
{}
|
||||||
|
|
||||||
NS_DECL_ISUPPORTS
|
NS_DECL_ISUPPORTS
|
||||||
NS_DECL_NSIDOMBLOBBUILDER
|
NS_DECL_NSIDOMMOZBLOBBUILDER
|
||||||
protected:
|
protected:
|
||||||
nsresult AppendVoidPtr(void* aData, PRUint32 aLength);
|
nsresult AppendVoidPtr(void* aData, PRUint32 aLength);
|
||||||
nsresult AppendString(JSString* aString, JSContext* aCx);
|
nsresult AppendString(JSString* aString, JSContext* aCx);
|
||||||
|
@ -287,7 +287,7 @@ DOMCI_DATA(MozBlobBuilder, nsDOMBlobBuilder)
|
||||||
NS_IMPL_ADDREF(nsDOMBlobBuilder)
|
NS_IMPL_ADDREF(nsDOMBlobBuilder)
|
||||||
NS_IMPL_RELEASE(nsDOMBlobBuilder)
|
NS_IMPL_RELEASE(nsDOMBlobBuilder)
|
||||||
NS_INTERFACE_MAP_BEGIN(nsDOMBlobBuilder)
|
NS_INTERFACE_MAP_BEGIN(nsDOMBlobBuilder)
|
||||||
NS_INTERFACE_MAP_ENTRY(nsIDOMBlobBuilder)
|
NS_INTERFACE_MAP_ENTRY(nsIDOMMozBlobBuilder)
|
||||||
NS_INTERFACE_MAP_ENTRY(nsISupports)
|
NS_INTERFACE_MAP_ENTRY(nsISupports)
|
||||||
NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(MozBlobBuilder)
|
NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(MozBlobBuilder)
|
||||||
NS_INTERFACE_MAP_END
|
NS_INTERFACE_MAP_END
|
||||||
|
|
|
@ -4037,8 +4037,8 @@ nsDOMClassInfo::Init()
|
||||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMMozURLProperty)
|
DOM_CLASSINFO_MAP_ENTRY(nsIDOMMozURLProperty)
|
||||||
DOM_CLASSINFO_MAP_END
|
DOM_CLASSINFO_MAP_END
|
||||||
|
|
||||||
DOM_CLASSINFO_MAP_BEGIN(MozBlobBuilder, nsIDOMBlobBuilder)
|
DOM_CLASSINFO_MAP_BEGIN(MozBlobBuilder, nsIDOMMozBlobBuilder)
|
||||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMBlobBuilder)
|
DOM_CLASSINFO_MAP_ENTRY(nsIDOMMozBlobBuilder)
|
||||||
DOM_CLASSINFO_MAP_END
|
DOM_CLASSINFO_MAP_END
|
||||||
|
|
||||||
DOM_CLASSINFO_MAP_BEGIN(DOMStringMap, nsIDOMDOMStringMap)
|
DOM_CLASSINFO_MAP_BEGIN(DOMStringMap, nsIDOMDOMStringMap)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче