Bug 833229 - 2.a/4: wrap arguments list. r=echen

This commit is contained in:
Vicamo Yang 2014-09-26 13:00:23 +08:00
parent 1b25d96798
commit 453e4a512e
2 changed files with 16 additions and 9 deletions

View File

@ -134,7 +134,8 @@ Voicemail::GetStatus(const Optional<uint32_t>& aServiceId,
}
void
Voicemail::GetNumber(const Optional<uint32_t>& aServiceId, nsString& aNumber,
Voicemail::GetNumber(const Optional<uint32_t>& aServiceId,
nsString& aNumber,
ErrorResult& aRv) const
{
aNumber.SetIsVoid(true);
@ -154,7 +155,8 @@ Voicemail::GetNumber(const Optional<uint32_t>& aServiceId, nsString& aNumber,
}
void
Voicemail::GetDisplayName(const Optional<uint32_t>& aServiceId, nsString& aDisplayName,
Voicemail::GetDisplayName(const Optional<uint32_t>& aServiceId,
nsString& aDisplayName,
ErrorResult& aRv) const
{
aDisplayName.SetIsVoid(true);

View File

@ -34,7 +34,8 @@ class Voicemail MOZ_FINAL : public DOMEventTargetHelper,
*/
class Listener;
virtual ~Voicemail();
virtual
~Voicemail();
public:
NS_DECL_ISUPPORTS_INHERITED
@ -42,7 +43,8 @@ public:
NS_REALLY_FORWARD_NSIDOMEVENTTARGET(DOMEventTargetHelper)
Voicemail(nsPIDOMWindow* aWindow, nsIVoicemailService* aService);
Voicemail(nsPIDOMWindow* aWindow,
nsIVoicemailService* aService);
nsPIDOMWindow*
GetParentObject() const
@ -54,14 +56,17 @@ public:
WrapObject(JSContext* aCx) MOZ_OVERRIDE;
already_AddRefed<MozVoicemailStatus>
GetStatus(const Optional<uint32_t>& aServiceId, ErrorResult& aRv) const;
void
GetNumber(const Optional<uint32_t>& aServiceId, nsString& aNumber,
GetStatus(const Optional<uint32_t>& aServiceId,
ErrorResult& aRv) const;
void
GetDisplayName(const Optional<uint32_t>& aServiceId, nsString& aDisplayName,
GetNumber(const Optional<uint32_t>& aServiceId,
nsString& aNumber,
ErrorResult& aRv) const;
void
GetDisplayName(const Optional<uint32_t>& aServiceId,
nsString& aDisplayName,
ErrorResult& aRv) const;
IMPL_EVENT_HANDLER(statuschanged)