Bug 882551 - Patch 1: BluetoothProfileManagerBase inherits nsIObserver, r=qdot, r=mrbkap, r=echou
authorGina Yeh <gyeh@mozilla.com>
Thu, 20 Jun 2013 09:19:15 +0800
changeset 147257 e90c2c614ed96692e54f651980cc19d43058ac40
parent 147256 12ba48be5b781f18399fcd83c90992bff9b59774
child 147258 84c69071626e9a53df068461d78a378f5b77ffcf
push id2697
push userbbajaj@mozilla.com
push dateMon, 05 Aug 2013 18:49:53 +0000
treeherdermozilla-beta@dfec938c7b63 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersqdot, mrbkap, echou
bugs882551
milestone24.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 882551 - Patch 1: BluetoothProfileManagerBase inherits nsIObserver, r=qdot, r=mrbkap, r=echou
dom/bluetooth/BluetoothProfileManagerBase.h
--- a/dom/bluetooth/BluetoothProfileManagerBase.h
+++ b/dom/bluetooth/BluetoothProfileManagerBase.h
@@ -7,20 +7,21 @@
 #ifndef mozilla_dom_bluetooth_bluetoothprofilemanagerbase_h__
 #define mozilla_dom_bluetooth_bluetoothprofilemanagerbase_h__
 
 #define ERR_SERVICE_CHANNEL_NOT_FOUND "DeviceChannelRetrievalError"
 #define ERR_REACHED_CONNECTION_LIMIT "ReachedConnectionLimitError"
 #define ERR_NO_AVAILABLE_RESOURCE "NoAvailableResourceError"
 
 #include "BluetoothCommon.h"
+#include "nsIObserver.h"
 
 BEGIN_BLUETOOTH_NAMESPACE
 
-class BluetoothProfileManagerBase : public nsISupports
+class BluetoothProfileManagerBase : public nsIObserver
 {
 public:
   virtual void OnGetServiceChannel(const nsAString& aDeviceAddress,
                                    const nsAString& aServiceUuid,
                                    int aChannel) = 0;
   virtual void OnUpdateSdpRecords(const nsAString& aDeviceAddress) = 0;
   virtual void GetAddress(nsAString& aDeviceAddress) = 0;
 };