Bumping manifests a=b2g-bump
[gecko.git] / dom / mobileconnection / ImsRegCallback.h
blobb0144eb9e6284bebeec35b650b1783a8b03c3de0
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #ifndef mozilla_dom_mobileconnection_ImsRegCallback_h
6 #define mozilla_dom_mobileconnection_ImsRegCallback_h
8 #include "nsCOMPtr.h"
9 #include "nsIImsRegService.h"
11 namespace mozilla {
12 namespace dom {
14 class Promise;
16 namespace mobileconnection {
18 class ImsRegCallback MOZ_FINAL : public nsIImsRegCallback
20 public:
21 NS_DECL_ISUPPORTS
22 NS_DECL_NSIIMSREGCALLBACK
24 ImsRegCallback(Promise* aPromise);
26 private:
27 ~ImsRegCallback();
29 nsRefPtr<Promise> mPromise;
32 } // namespace mobileconnection
33 } // namespace dom
34 } // namespace mozilla
36 #endif // mozilla_dom_mobileconnection_ImsRegCallback_h