diff options
author | Matt A. Tobin <email@mattatobin.com> | 2019-04-23 15:32:23 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2019-04-23 15:32:23 -0400 |
commit | abe80cc31d5a40ebed743085011fbcda0c1a9a10 (patch) | |
tree | fb3762f06b84745b182af281abb107b95a9fcf01 /mobile/android/components/build/nsBrowserModule.cpp | |
parent | 63295d0087eb58a6eb34cad324c4c53d1b220491 (diff) | |
download | UXP-abe80cc31d5a40ebed743085011fbcda0c1a9a10.tar UXP-abe80cc31d5a40ebed743085011fbcda0c1a9a10.tar.gz UXP-abe80cc31d5a40ebed743085011fbcda0c1a9a10.tar.lz UXP-abe80cc31d5a40ebed743085011fbcda0c1a9a10.tar.xz UXP-abe80cc31d5a40ebed743085011fbcda0c1a9a10.zip |
Issue #1053 - Drop support Android and remove Fennec - Part 1a: Remove mobile/android
Diffstat (limited to 'mobile/android/components/build/nsBrowserModule.cpp')
-rw-r--r-- | mobile/android/components/build/nsBrowserModule.cpp | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/mobile/android/components/build/nsBrowserModule.cpp b/mobile/android/components/build/nsBrowserModule.cpp deleted file mode 100644 index 6f9fe67bf..000000000 --- a/mobile/android/components/build/nsBrowserModule.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * 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 "mozilla/ModuleUtils.h" - -#include "nsShellService.h" - -#ifdef MOZ_ANDROID_HISTORY -#include "nsDocShellCID.h" -#include "nsAndroidHistory.h" -#define NS_ANDROIDHISTORY_CID \ - {0xCCAA4880, 0x44DD, 0x40A7, {0xA1, 0x3F, 0x61, 0x56, 0xFC, 0x88, 0x2C, 0x0B}} -#endif - -NS_GENERIC_FACTORY_CONSTRUCTOR(nsShellService) -NS_DEFINE_NAMED_CID(nsShellService_CID); - -#ifdef MOZ_ANDROID_HISTORY -NS_GENERIC_FACTORY_SINGLETON_CONSTRUCTOR(nsAndroidHistory, nsAndroidHistory::GetSingleton) -NS_DEFINE_NAMED_CID(NS_ANDROIDHISTORY_CID); -#endif - -static const mozilla::Module::CIDEntry kBrowserCIDs[] = { - { &knsShellService_CID, false, nullptr, nsShellServiceConstructor }, -#ifdef MOZ_ANDROID_HISTORY - { &kNS_ANDROIDHISTORY_CID, false, nullptr, nsAndroidHistoryConstructor }, -#endif - { nullptr } -}; - -static const mozilla::Module::ContractIDEntry kBrowserContracts[] = { - { nsShellService_ContractID, &knsShellService_CID }, -#ifdef MOZ_ANDROID_HISTORY - { NS_IHISTORY_CONTRACTID, &kNS_ANDROIDHISTORY_CID }, -#endif - { nullptr } -}; - -static const mozilla::Module kBrowserModule = { - mozilla::Module::kVersion, - kBrowserCIDs, - kBrowserContracts -}; - -NSMODULE_DEFN(nsBrowserCompsModule) = &kBrowserModule; |