Skip to content

Commit

Permalink
Bug 909645 part 2. Don't include ipdl headers in Hal.h. r=ms2ger
Browse files Browse the repository at this point in the history
  • Loading branch information
bzbarsky committed Aug 28, 2013
1 parent 02ae438 commit 6a10c24
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions dom/base/nsGlobalWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include "nsDOMWindowList.h"
#include "nsIDOMWakeLock.h"
#include "nsIDocShellTreeOwner.h"
#include "nsIPermissionManager.h"
#include "nsIScriptContext.h"
#include "nsIScriptTimeoutHandler.h"

Expand Down
1 change: 1 addition & 0 deletions dom/power/PowerManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include "nsIDOMWakeLockListener.h"
#include "nsIDOMWindow.h"
#include "nsWeakReference.h"
#include "nsCycleCollectionParticipant.h"

class nsPIDOMWindow;

Expand Down
1 change: 1 addition & 0 deletions dom/system/gonk/AudioManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

#include "nsJSUtils.h"
#include "nsCxPusher.h"
#include "nsThreadUtils.h"

using namespace mozilla::dom::gonk;
using namespace android;
Expand Down
1 change: 0 additions & 1 deletion hal/Hal.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include "mozilla/dom/battery/Types.h"
#include "mozilla/dom/network/Types.h"
#include "mozilla/dom/power/Types.h"
#include "mozilla/dom/ContentParent.h"
#include "mozilla/hal_sandbox/PHal.h"
#include "mozilla/dom/ScreenOrientation.h"

Expand Down
1 change: 1 addition & 0 deletions hal/gonk/GonkHal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
#include "mozilla/dom/battery/Constants.h"
#include "mozilla/FileUtils.h"
#include "mozilla/Monitor.h"
#include "mozilla/RefPtr.h"
#include "mozilla/Services.h"
#include "mozilla/StaticPtr.h"
#include "mozilla/Preferences.h"
Expand Down
1 change: 1 addition & 0 deletions hal/gonk/GonkSensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include "Hal.h"
#include "HalSensor.h"
#include "hardware/sensors.h"
#include "nsThreadUtils.h"

#undef LOG

Expand Down
2 changes: 2 additions & 0 deletions hal/gonk/GonkSwitch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@

#include "Hal.h"
#include "mozilla/FileUtils.h"
#include "mozilla/RefPtr.h"
#include "mozilla/Monitor.h"
#include "nsPrintfCString.h"
#include "nsXULAppAPI.h"
#include "nsThreadUtils.h"
#include "UeventPoller.h"

using namespace mozilla::hal;
Expand Down
1 change: 1 addition & 0 deletions hal/linux/LinuxPower.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <unistd.h>
#include <sys/reboot.h>
#include "nsIObserverService.h"
#include "mozilla/Services.h"

namespace mozilla {
namespace hal_impl {
Expand Down
3 changes: 3 additions & 0 deletions toolkit/components/diskspacewatcher/DiskSpaceWatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "DiskSpaceWatcher.h"
#include "nsIObserverService.h"
#include "nsXULAppAPI.h"
#include "mozilla/Hal.h"
#include "mozilla/ModuleUtils.h"
#include "mozilla/Preferences.h"
#include "mozilla/ClearOnShutdown.h"
#include "mozilla/Services.h"

#define NS_DISKSPACEWATCHER_CID \
{ 0xab218518, 0xf197, 0x4fb4, { 0x8b, 0x0f, 0x8b, 0xb3, 0x4d, 0xf2, 0x4b, 0xf4 } }
Expand Down
1 change: 1 addition & 0 deletions widget/gonk/nsAppShell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
#include "nsIObserverService.h"
#include "nsIScreen.h"
#include "nsScreenManagerGonk.h"
#include "nsThreadUtils.h"
#include "nsWindow.h"
#include "OrientationObserver.h"
#include "GonkMemoryPressureMonitoring.h"
Expand Down

0 comments on commit 6a10c24

Please sign in to comment.