Bug 914826 - part 4 - fix source files that were bootlegging XPCOM do_* functions via generated ipdl headers; r=ehsan

This commit is contained in:
Nathan Froyd 2013-09-10 16:56:05 -04:00
parent 9645277c5a
commit 4186a4655f
15 changed files with 17 additions and 2 deletions

View File

@ -9,6 +9,7 @@
#include "nsIPrincipal.h"
#include "mozilla/dom/Element.h"
#include "mozilla/unused.h"
#include "nsComponentManagerUtils.h"
using mozilla::unused; // <snicker>
using namespace mozilla::dom;

View File

@ -78,6 +78,7 @@
#include "nsIBaseWindow.h"
#include "nsIDocShellTreeOwner.h"
#include "nsIInterfaceRequestorUtils.h"
#include "GeckoProfiler.h"
#ifdef XP_WIN
#undef GetClassName

View File

@ -8,6 +8,7 @@
#include "BluetoothReplyRunnable.h"
#include "DOMRequest.h"
#include "mozilla/dom/bluetooth/BluetoothTypes.h"
#include "nsServiceManagerUtils.h"
USING_BLUETOOTH_NAMESPACE

View File

@ -7,6 +7,7 @@
#include "SmsService.h"
#include "jsapi.h"
#include "SmsSegmentInfo.h"
#include "nsServiceManagerUtils.h"
namespace mozilla {
namespace dom {

View File

@ -30,6 +30,7 @@
#include "nsPrintfCString.h"
#include "PluginIdentifierParent.h"
#include "prsystem.h"
#include "GeckoProfiler.h"
#ifdef XP_WIN
#include "PluginHangUIParent.h"

View File

@ -33,6 +33,8 @@
#include "nsJSUtils.h"
#include "nsCxPusher.h"
#include "nsThreadUtils.h"
#include "nsServiceManagerUtils.h"
#include "nsComponentManagerUtils.h"
using namespace mozilla::dom::gonk;
using namespace android;

View File

@ -4,6 +4,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "mozilla/dom/telephony/TelephonyParent.h"
#include "nsServiceManagerUtils.h"
USING_TELEPHONY_NAMESPACE

View File

@ -10,6 +10,7 @@
#include "mozilla/dom/network/Constants.h"
#include "mozilla/dom/ScreenOrientation.h"
#include "nsIScreenManager.h"
#include "nsServiceManagerUtils.h"
using namespace mozilla::dom;
using namespace mozilla::hal;

View File

@ -4,6 +4,7 @@
#include "Hal.h"
#include "nsITimer.h"
#include "smslib.h"
#include "nsComponentManagerUtils.h"
#include <mach/mach.h>
#include <cmath>

View File

@ -6,10 +6,10 @@
#include <algorithm>
#include <nsITimer.h>
#include "mozilla/ClearOnShutdown.h"
#include "mozilla/StaticPtr.h"
#include "nsComponentManagerUtils.h"
#include "nsITimer.h"
#include "nsThreadUtils.h"
namespace mozilla {

View File

@ -5,6 +5,7 @@
#include "Hal.h"
#include "mozilla/dom/ScreenOrientation.h"
#include "nsIScreenManager.h"
#include "nsServiceManagerUtils.h"
namespace mozilla {
namespace hal_impl {

View File

@ -8,6 +8,7 @@
#include "nsITimer.h"
#include "mozilla/Preferences.h"
#include "mozilla/dom/battery/Constants.h"
#include "nsComponentManagerUtils.h"
#include <windows.h>
#include "nsWindowsHelpers.h"

View File

@ -35,6 +35,7 @@
#include "nsObjectFrame.h"
#include "nsContentUtils.h"
#include "nsIPermissionManager.h"
#include "nsServiceManagerUtils.h"
using namespace mozilla;
using mozilla::layout::RenderFrameParent;

View File

@ -24,6 +24,7 @@
#include "OrientationObserver.h"
#include "mozilla/HalSensor.h"
#include "ProcessOrientation.h"
#include "nsServiceManagerUtils.h"
using namespace mozilla;
using namespace dom;

View File

@ -20,6 +20,7 @@
#include "mozilla/Observer.h"
#include "mozilla/dom/ScreenOrientation.h"
#include "mozilla/Scoped.h"
namespace mozilla {
class ProcessOrientation;