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

View File

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