mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-26 13:40:43 +02:00
dns: remove unused Chromium bits
This was supposed to hook up to the bits Adam Langley did last year for his local-dns-cache DBus service, but I misunderstood the architecture. It was a separate service, not Chromium itself. But it's unclear what happened to his local-dns-cache since the project doesn't seem to have any commits in a year and I'm unsure if it's actually being used. So remove this stuff for now.
This commit is contained in:
parent
1da4a11ce5
commit
1e33d1e906
2 changed files with 0 additions and 19 deletions
|
|
@ -104,10 +104,6 @@ this plugin uses dnsmasq to provide local caching nameserver functionality.
|
|||
.I bind
|
||||
this plugin uses the ISC BIND program to provide local caching nameserver
|
||||
functionality.
|
||||
.TP
|
||||
.I chromium
|
||||
this plugin provides DNS information to the Chromium web browser. It does not
|
||||
provide local caching nameserver functionality.
|
||||
.RE
|
||||
.SS [keyfile]
|
||||
This section contains keyfile-specific options and thus only has effect when using \fIkeyfile\fP plugin.
|
||||
|
|
|
|||
|
|
@ -1002,12 +1002,6 @@ nm_dns_bind_new (void)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
static GObject *
|
||||
nm_dns_chromium_new (void)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static void
|
||||
load_plugins (NMDnsManager *self, const char **plugins)
|
||||
{
|
||||
|
|
@ -1023,8 +1017,6 @@ load_plugins (NMDnsManager *self, const char **plugins)
|
|||
plugin = NM_DNS_PLUGIN (nm_dns_dnsmasq_new ());
|
||||
else if (!strcasecmp (*iter, "bind"))
|
||||
plugin = NM_DNS_PLUGIN (nm_dns_bind_new ());
|
||||
else if (!strcasecmp (*iter, "chromium"))
|
||||
plugin = NM_DNS_PLUGIN (nm_dns_chromium_new ());
|
||||
else {
|
||||
nm_log_warn (LOGD_DNS, "Unknown DNS plugin '%s'", *iter);\
|
||||
continue;
|
||||
|
|
@ -1052,13 +1044,6 @@ load_plugins (NMDnsManager *self, const char **plugins)
|
|||
}
|
||||
} else {
|
||||
/* Create default plugins */
|
||||
|
||||
/* Chromium support */
|
||||
#if 0
|
||||
plugin = NM_DNS_PLUGIN (nm_dns_chromium_new ());
|
||||
g_assert (plugin);
|
||||
priv->plugins = g_slist_append (priv->plugins, plugin);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue