Bug 1270476 - Fix compilation issues on Android with PushEnabled. rs=jesup

CLOSED TREE
This commit is contained in:
Andrea Marchesini 2016-05-05 06:21:00 -04:00
parent 44fcbd8a7d
commit 3b28920d8e
4 changed files with 13 additions and 0 deletions

View File

@ -34,6 +34,7 @@
#include "mozilla/dom/TypedArray.h"
#include "nsCOMPtr.h"
#include "nsContentUtils.h" // Required for nsContentUtils::PushEnabled
#include "mozilla/RefPtr.h"
class nsIGlobalObject;

View File

@ -8,6 +8,7 @@
#include "jsapi.h"
#include "nsCOMPtr.h"
#include "nsWrapperCache.h"
#include "nsContentUtils.h" // Required for nsContentUtils::PushEnabled
#include "mozilla/AlreadyAddRefed.h"
#include "mozilla/ErrorResult.h"

View File

@ -5,7 +5,17 @@
#ifndef mozilla_dom_PushSubscriptionOptions_h
#define mozilla_dom_PushSubscriptionOptions_h
#include "nsCycleCollectionParticipant.h"
#include "nsContentUtils.h" // Required for nsContentUtils::PushEnabled
#include "nsTArray.h"
#include "nsWrapperCache.h"
class nsIGlobalObject;
namespace mozilla {
class ErrorResult;
namespace dom {
class PushSubscriptionOptions final : public nsISupports

View File

@ -11,6 +11,7 @@
#include "mozilla/dom/ServiceWorkerBinding.h"
#include "mozilla/dom/ServiceWorkerCommon.h"
#include "mozilla/dom/workers/bindings/WorkerFeature.h"
#include "nsContentUtils.h" // Required for nsContentUtils::PushEnabled
// Support for Notification API extension.
#include "mozilla/dom/NotificationBinding.h"