Commit dbec34d4 authored by Ken Rockot's avatar Ken Rockot Committed by Commit Bot

Remove unused interfaces from catalog service

BUG=716416
TBR=ben@chromium.org

Change-Id: I765d24506682167248dbc7d51c0d399cda41a741
Reviewed-on: https://chromium-review.googlesource.com/490613Reviewed-by: default avatarKen Rockot <rockot@chromium.org>
Reviewed-by: default avatarBen Goodger <ben@chromium.org>
Commit-Queue: Ken Rockot <rockot@chromium.org>
Cr-Commit-Position: refs/heads/master@{#468183}
parent 62111457
......@@ -102,16 +102,4 @@ void Instance::GetEntriesProvidingCapability(
callback.Run(std::move(entries));
}
void Instance::GetEntriesConsumingMIMEType(
const std::string& mime_type,
const GetEntriesConsumingMIMETypeCallback& callback) {
// TODO(beng): implement.
}
void Instance::GetEntriesSupportingScheme(
const std::string& scheme,
const GetEntriesSupportingSchemeCallback& callback) {
// TODO(beng): implement.
}
} // namespace catalog
......@@ -43,12 +43,6 @@ class Instance : public service_manager::mojom::Resolver,
void GetEntriesProvidingCapability(
const std::string& capability,
const GetEntriesProvidingCapabilityCallback& callback) override;
void GetEntriesConsumingMIMEType(
const std::string& mime_type,
const GetEntriesConsumingMIMETypeCallback& callback) override;
void GetEntriesSupportingScheme(
const std::string& scheme,
const GetEntriesSupportingSchemeCallback& callback) override;
mojo::BindingSet<service_manager::mojom::Resolver> resolver_bindings_;
mojo::BindingSet<mojom::Catalog> catalog_bindings_;
......
......@@ -20,19 +20,4 @@ interface Catalog {
// Returns the entry(ies) for applications that export to the caller the
// specified capability.
GetEntriesProvidingCapability(string capability) => (array<Entry> entries);
// Returns the entry(ies) for applications that can consume content of the
// specified MIME type.
GetEntriesConsumingMIMEType(string mime_type) => (array<Entry> entries);
// Returns the entry(ies) for applications that can handle links with the
// specified scheme.
GetEntriesSupportingScheme(string protocol_scheme) => (array<Entry> entries);
};
// A control interface which may be exposed to privileged services.
interface CatalogControl {
// Overrides the manifest path for a specific service named |name|.
[Sync]
OverrideManifestPath(string name, mojo.common.mojom.FilePath path) => ();
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment