aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/mozilla-embed-single.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/mozilla-embed-single.cpp')
-rw-r--r--embed/mozilla/mozilla-embed-single.cpp13
1 files changed, 3 insertions, 10 deletions
diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp
index 7b48f03f6..62efe62de 100644
--- a/embed/mozilla/mozilla-embed-single.cpp
+++ b/embed/mozilla/mozilla-embed-single.cpp
@@ -708,14 +708,7 @@ impl_remove_password (EphyPasswordManager *manager,
pm->RemoveUser (nsEmbedCString(info->host), userName);
}
-static const char *permission_type_string [] =
-{
- "cookie",
- "image",
- "popup"
-};
-
-void
+static void
impl_permission_manager_add (EphyPermissionManager *manager,
const char *host,
const char *type,
@@ -740,7 +733,7 @@ impl_permission_manager_add (EphyPermissionManager *manager,
(PRUint32) nsIPermissionManager::DENY_ACTION);
}
-void
+static void
impl_permission_manager_remove (EphyPermissionManager *manager,
const char *host,
const char *type)
@@ -752,7 +745,7 @@ impl_permission_manager_remove (EphyPermissionManager *manager,
pm->Remove (nsEmbedCString (host), type);
}
-void
+static void
impl_permission_manager_clear (EphyPermissionManager *manager)
{
nsCOMPtr<nsIPermissionManager> pm