summaryrefslogtreecommitdiffstats
path: root/application/palemoon/components
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-04-04 07:18:48 -0400
committerMatt A. Tobin <email@mattatobin.com>2018-04-04 07:18:48 -0400
commita1065a8a4bf277a9d4558167ace727c19a95030b (patch)
treef173de5926ef0bd6c222941249576d050d7721f9 /application/palemoon/components
parent45549dde48e2e4684d7964580f1382c1623146c1 (diff)
downloadUXP-a1065a8a4bf277a9d4558167ace727c19a95030b.tar
UXP-a1065a8a4bf277a9d4558167ace727c19a95030b.tar.gz
UXP-a1065a8a4bf277a9d4558167ace727c19a95030b.tar.lz
UXP-a1065a8a4bf277a9d4558167ace727c19a95030b.tar.xz
UXP-a1065a8a4bf277a9d4558167ace727c19a95030b.zip
[PALEMOON] Remove nsIAboutModule::GetIndexedDBOriginPostfix();
Diffstat (limited to 'application/palemoon/components')
-rw-r--r--application/palemoon/components/about/AboutRedirector.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/application/palemoon/components/about/AboutRedirector.cpp b/application/palemoon/components/about/AboutRedirector.cpp
index d927b7936..b5dd4abfb 100644
--- a/application/palemoon/components/about/AboutRedirector.cpp
+++ b/application/palemoon/components/about/AboutRedirector.cpp
@@ -9,8 +9,6 @@
#include "nsNetUtil.h"
#include "nsIScriptSecurityManager.h"
#include "mozilla/ArrayUtils.h"
-#include "nsDOMString.h"
-
namespace mozilla {
namespace browser {
@@ -21,7 +19,6 @@ struct RedirEntry {
const char* id;
const char* url;
uint32_t flags;
- const char* idbOriginPostfix;
};
/*
@@ -148,30 +145,6 @@ AboutRedirector::GetURIFlags(nsIURI *aURI, uint32_t *result)
return NS_ERROR_ILLEGAL_VALUE;
}
-NS_IMETHODIMP
-AboutRedirector::GetIndexedDBOriginPostfix(nsIURI *aURI, nsAString &result)
-{
- NS_ENSURE_ARG_POINTER(aURI);
-
- nsAutoCString name = GetAboutModuleName(aURI);
-
- for (int i = 0; i < kRedirTotal; i++) {
- if (name.Equals(kRedirMap[i].id)) {
- const char* postfix = kRedirMap[i].idbOriginPostfix;
- if (!postfix) {
- break;
- }
-
- result.AssignASCII(postfix);
- return NS_OK;
- }
- }
-
- SetDOMStringToNull(result);
- return NS_ERROR_ILLEGAL_VALUE;
-}
-
-
nsresult
AboutRedirector::Create(nsISupports *aOuter, REFNSIID aIID, void **result)
{