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

Unified Diff: third_party/WebKit/Source/modules/installedapp/InstalledAppController.h

Issue 2671683002: getInstalledRelatedApps: Add browser-side Mojo service (stub). (Closed)
Patch Set: Added self to OWNERS. Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/installedapp/InstalledAppController.h
diff --git a/third_party/WebKit/Source/modules/installedapp/InstalledAppController.h b/third_party/WebKit/Source/modules/installedapp/InstalledAppController.h
index ba73fc4917527fb0c66ea84f6ba6d6a99a2ee467..7527d90abda22d7aab91ce824630d743503789eb 100644
--- a/third_party/WebKit/Source/modules/installedapp/InstalledAppController.h
+++ b/third_party/WebKit/Source/modules/installedapp/InstalledAppController.h
@@ -12,6 +12,8 @@
#include "public/platform/WebVector.h"
#include "public/platform/modules/installedapp/WebRelatedApplication.h"
#include "public/platform/modules/installedapp/WebRelatedAppsFetcher.h"
+#include "public/platform/modules/installedapp/installed_app_provider.mojom-blink.h"
+#include "public/platform/modules/installedapp/related_application.mojom-blink.h"
#include "wtf/RefPtr.h"
#include "wtf/Vector.h"
@@ -57,6 +59,15 @@ class MODULES_EXPORT InstalledAppController final
const WebVector<WebRelatedApplication>&,
std::unique_ptr<AppInstalledCallbacks>);
+ // Callback from the InstalledAppProvider mojo service.
+ void OnFilterInstalledApps(std::unique_ptr<blink::AppInstalledCallbacks>,
+ WTF::Vector<mojom::blink::RelatedApplicationPtr>);
+
+ WeakMember<LocalFrame> m_frame;
haraken 2017/02/23 08:35:51 You can use supplementable(), which will return a
Matt Giuca 2017/03/02 05:45:33 Done. Thanks for the suggestion.
+
+ // Handle to the InstalledApp mojo service.
+ mojom::blink::InstalledAppProviderPtr m_provider = nullptr;
+
WebRelatedAppsFetcher* m_relatedAppsFetcher;
};

Powered by Google App Engine
This is Rietveld 408576698