| Index: content/browser/installedapp/installed_app_provider_impl_default.cc
|
| diff --git a/content/browser/installedapp/installed_app_provider_impl_default.cc b/content/browser/installedapp/installed_app_provider_impl_default.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..10e512a4024fe891c5661937da11ec1a364a0bab
|
| --- /dev/null
|
| +++ b/content/browser/installedapp/installed_app_provider_impl_default.cc
|
| @@ -0,0 +1,30 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "content/browser/installedapp/installed_app_provider_impl_default.h"
|
| +
|
| +#include "mojo/public/cpp/bindings/strong_binding.h"
|
| +
|
| +namespace content {
|
| +
|
| +InstalledAppProviderImplDefault::InstalledAppProviderImplDefault() {}
|
| +
|
| +InstalledAppProviderImplDefault::~InstalledAppProviderImplDefault() {}
|
| +
|
| +void InstalledAppProviderImplDefault::FilterInstalledApps(
|
| + std::vector<blink::mojom::RelatedApplicationPtr> related_apps,
|
| + const FilterInstalledAppsCallback& callback) {
|
| + // Do not return any results (in the default implementation, there are no
|
| + // installed related apps).
|
| + callback.Run(std::vector<blink::mojom::RelatedApplicationPtr>());
|
| +}
|
| +
|
| +// static
|
| +void InstalledAppProviderImplDefault::Create(
|
| + mojo::InterfaceRequest<blink::mojom::InstalledAppProvider> request) {
|
| + mojo::MakeStrongBinding(base::MakeUnique<InstalledAppProviderImplDefault>(),
|
| + std::move(request));
|
| +}
|
| +
|
| +} // namespace content
|
|
|