From 402c57bc5d7e6f98ba7703b1314e52143dec5a3e Mon Sep 17 00:00:00 2001 From: Vicamo Yang Date: Wed, 25 Jun 2014 11:57:18 +0800 Subject: [PATCH] Bug 958782 - 2.c/3: remove unused headers and sort. r=khuey --- .../src/MobileMessageManager.cpp | 36 ++++++++----------- 1 file changed, 15 insertions(+), 21 deletions(-) diff --git a/dom/mobilemessage/src/MobileMessageManager.cpp b/dom/mobilemessage/src/MobileMessageManager.cpp index 0ec79de03458..57f7c411053e 100644 --- a/dom/mobilemessage/src/MobileMessageManager.cpp +++ b/dom/mobilemessage/src/MobileMessageManager.cpp @@ -3,34 +3,28 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "SmsFilter.h" #include "MobileMessageManager.h" -#include "nsIDOMClassInfo.h" -#include "nsISmsService.h" -#include "nsIMmsService.h" -#include "nsIObserverService.h" -#include "mozilla/Preferences.h" -#include "mozilla/Services.h" -#include "mozilla/dom/mobilemessage/Constants.h" // For MessageType + +#include "DOMCursor.h" +#include "DOMRequest.h" +#include "MobileMessageCallback.h" +#include "MobileMessageCursorCallback.h" +#include "mozilla/dom/mobilemessage/Constants.h" // For kSms*ObserverTopic #include "mozilla/dom/MozMmsEvent.h" -#include "mozilla/dom/MozMmsMessageBinding.h" #include "mozilla/dom/MozMobileMessageManagerBinding.h" #include "mozilla/dom/MozSmsEvent.h" #include "mozilla/dom/ToJSValue.h" -#include "nsIDOMMozSmsMessage.h" +#include "mozilla/Preferences.h" +#include "mozilla/Services.h" #include "nsIDOMMozMmsMessage.h" -#include "nsJSUtils.h" -#include "nsContentUtils.h" -#include "nsCxPusher.h" -#include "nsIMobileMessageDatabaseService.h" -#include "nsIXPConnect.h" -#include "nsIPermissionManager.h" -#include "GeneratedEvents.h" -#include "DOMRequest.h" +#include "nsIDOMMozSmsMessage.h" +#include "nsIMmsService.h" #include "nsIMobileMessageCallback.h" -#include "MobileMessageCallback.h" -#include "MobileMessageCursorCallback.h" -#include "DOMCursor.h" +#include "nsIMobileMessageDatabaseService.h" +#include "nsIObserverService.h" +#include "nsISmsService.h" +#include "nsServiceManagerUtils.h" // For do_GetService() +#include "SmsFilter.h" #define RECEIVED_EVENT_NAME NS_LITERAL_STRING("received") #define RETRIEVING_EVENT_NAME NS_LITERAL_STRING("retrieving")