Bug 1301010 - Add missing Unused.h, StorageManager.h r=fabrice
authorAlexandre Lissy <lissyx@lissyx.dyndns.org>
Wed, 07 Sep 2016 10:24:25 +0200
changeset 313034 da216b2fc7dc009f228f0cf078b74b3b59008da0
parent 313033 4c763f86c46269e4ed00835cb3e083432b3abe13
child 313035 4589f5daf170465565e2b091fcc094baea83d872
push id20479
push userkwierso@gmail.com
push dateThu, 08 Sep 2016 01:08:46 +0000
treeherderfx-team@fb7c6b034329 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfabrice
bugs1301010
milestone51.0a1
Bug 1301010 - Add missing Unused.h, StorageManager.h r=fabrice MozReview-Commit-ID: 3ehLQTtBChb
dom/bluetooth/bluedroid/BluetoothMapSmsManager.cpp
dom/bluetooth/bluedroid/BluetoothPbapManager.cpp
dom/bluetooth/common/BluetoothUtils.cpp
dom/camera/TestGonkCameraHardware.cpp
dom/workers/WorkerNavigator.h
ipc/ril/RilSocket.cpp
--- a/dom/bluetooth/bluedroid/BluetoothMapSmsManager.cpp
+++ b/dom/bluetooth/bluedroid/BluetoothMapSmsManager.cpp
@@ -20,16 +20,18 @@
 
 #include "mozilla/RefPtr.h"
 #include "mozilla/Services.h"
 #include "mozilla/StaticPtr.h"
 #include "nsIInputStream.h"
 #include "nsIObserver.h"
 #include "nsIObserverService.h"
 
+#include "mozilla/Unused.h"
+
 #define FILTER_NO_SMS_GSM   0x01
 #define FILTER_NO_SMS_CDMA  0x02
 #define FILTER_NO_EMAIL     0x04
 #define FILTER_NO_MMS       0x08
 
 USING_BLUETOOTH_NAMESPACE
 using namespace mozilla;
 using namespace mozilla::dom;
--- a/dom/bluetooth/bluedroid/BluetoothPbapManager.cpp
+++ b/dom/bluetooth/bluedroid/BluetoothPbapManager.cpp
@@ -19,16 +19,18 @@
 #include "mozilla/RefPtr.h"
 #include "mozilla/Services.h"
 #include "mozilla/StaticPtr.h"
 #include "nsIInputStream.h"
 #include "nsIObserver.h"
 #include "nsIObserverService.h"
 #include "nsNetCID.h"
 
+#include "mozilla/Unused.h"
+
 USING_BLUETOOTH_NAMESPACE
 using namespace mozilla;
 using namespace mozilla::dom;
 using namespace mozilla::ipc;
 
 namespace {
   // UUID of PBAP PSE
   static const BluetoothUuid kPbapPSE(PBAP_PSE);
--- a/dom/bluetooth/common/BluetoothUtils.cpp
+++ b/dom/bluetooth/common/BluetoothUtils.cpp
@@ -12,16 +12,17 @@
 #include "mozilla/dom/BluetoothGattServerBinding.h"
 #include "mozilla/dom/ScriptSettings.h"
 #include "mozilla/dom/bluetooth/BluetoothTypes.h"
 #include "nsContentUtils.h"
 #include "nsISystemMessagesInternal.h"
 #include "nsIUUIDGenerator.h"
 #include "nsServiceManagerUtils.h"
 #include "nsXULAppAPI.h"
+#include "mozilla/Unused.h"
 
 BEGIN_BLUETOOTH_NAMESPACE
 
 void
 AddressToString(const BluetoothAddress& aAddress, nsAString& aString)
 {
   char str[BLUETOOTH_ADDRESS_LENGTH + 1];
 
--- a/dom/camera/TestGonkCameraHardware.cpp
+++ b/dom/camera/TestGonkCameraHardware.cpp
@@ -383,17 +383,17 @@ TestGonkCameraHardware::Init()
       }
 
       return NS_OK;
     }
   };
 
   DebugOnly<nsresult> rv = WaitWhileRunningOnMainThread(new Delegate(this));
   NS_WARNING_ASSERTION(NS_SUCCEEDED(rv), "WaitWhileRunningOnMainThread failed");
-  return rv;
+  return NS_OK;
 }
 
 int
 TestGonkCameraHardware::AutoFocus()
 {
   class Delegate : public ControlMessage
   {
   public:
--- a/dom/workers/WorkerNavigator.h
+++ b/dom/workers/WorkerNavigator.h
@@ -6,16 +6,17 @@
 
 #ifndef mozilla_dom_workernavigator_h__
 #define mozilla_dom_workernavigator_h__
 
 #include "Workers.h"
 #include "RuntimeService.h"
 #include "nsString.h"
 #include "nsWrapperCache.h"
+#include "mozilla/dom/StorageManager.h"
 
 namespace mozilla {
 namespace dom {
 class Promise;
 class StorageManager;
 
 class WorkerNavigator final : public nsWrapperCache
 {
--- a/ipc/ril/RilSocket.cpp
+++ b/ipc/ril/RilSocket.cpp
@@ -7,16 +7,17 @@
 #include "RilSocket.h"
 #include <fcntl.h>
 #include "mozilla/dom/workers/Workers.h"
 #include "mozilla/ipc/UnixSocketConnector.h"
 #include "mozilla/RefPtr.h"
 #include "nsISupportsImpl.h" // for MOZ_COUNT_CTOR, MOZ_COUNT_DTOR
 #include "nsXULAppAPI.h"
 #include "RilSocketConsumer.h"
+#include "mozilla/Unused.h"
 
 static const size_t MAX_READ_SIZE = 1 << 16;
 
 namespace mozilla {
 namespace ipc {
 
 USING_WORKERS_NAMESPACE