Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Side by Side Diff: content/browser/installedapp/installed_app_provider_impl_default.h

Issue 2671683002: getInstalledRelatedApps: Add browser-side Mojo service (stub). (Closed)
Patch Set: Added TODO. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_INSTALLEDAPP_INSTALLED_APP_PROVIDER_IMPL_DEFAULT_H
6 #define CONTENT_BROWSER_INSTALLEDAPP_INSTALLED_APP_PROVIDER_IMPL_DEFAULT_H
7
8 #include <string>
9 #include <vector>
10
11 #include "third_party/WebKit/public/platform/modules/installedapp/installed_app_ provider.mojom.h"
12 #include "third_party/WebKit/public/platform/modules/installedapp/related_applic ation.mojom.h"
13
14 namespace content {
15
16 // The default (no-op) implementation of the InstalledAppProvider Mojo service.
17 // This always returns an empty set of related applications.
18 class InstalledAppProviderImplDefault
19 : public blink::mojom::InstalledAppProvider {
20 public:
21 InstalledAppProviderImplDefault();
22 ~InstalledAppProviderImplDefault() override;
23
24 // InstalledAppProvider overrides:
25 void FilterInstalledApps(
26 std::vector<blink::mojom::RelatedApplicationPtr> related_apps,
27 const FilterInstalledAppsCallback& callback) override;
28
29 static void Create(
30 mojo::InterfaceRequest<blink::mojom::InstalledAppProvider> request);
31 };
32
33 } // namespace content
34
35 #endif // CONTENT_BROWSER_INSTALLEDAPP_INSTALLED_APP_PROVIDER_IMPL_DEFAULT_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698